Nested Classes in Java (Rules) 1. The inner class(non-static nested) has access to all of the outer class's members, including those...
Read More
Showing posts with label Core java logic building. Show all posts
Showing posts with label Core java logic building. Show all posts
wrapper classes in Java
Java wrapper classes 1. What's need of wrapper classes? ---1. to be able to add prim types to growable collection(growable data st...
Read More
String class API Java
String class API Important String class constructors 1.String(byte[] bytes) --- byte[] ----> String converter 2.String(char[] cha...
Read More
What does it mean for a subclass-outside-the-package to have access to a superclass (parent) protected member?
What does it mean for a subclass-outside-the-package to have access to a superclass (parent) protected member? It means the subclass inhe...
Read More
Java Interfaces Simplified
Java Interfaces Why we need Java Interfaces ? 1. As an alternative to multiple inheritance. 2. Allows complete loosely coupled archit...
Read More
Subscribe to:
Posts (Atom)