This article contains… Method References Example of method reference When to use method reference When you can not use method reference Kind of method references
This article contains… Background of Lambda Expressions, Functional interface and Vertical problem. What is a Lambda expression ? How to use lambda. Example of lambda expression. Structure of lambda expression. Type of a lambda expression. When to use Lambda ?
This article contains… What is Default methods ? Why Default methods ? Example of various scenarios using Default methods Default methods and multiple inheritance Behavior when extending interface.
This article contains… What is Polymorphism ? Reference variable types and Object Example of Polymorphism Runtime and Compiletime Polymorphism Example of both SCJP exam objective 5.2
Contents : IS-A relationship in OOP (Inheritance) Has-A relationship (Association) Different type of Association : Aggregation and Composition Example of each type SCJP exam objective 5.5
Content : What is Inheritance ? Example of Inheritance. Reason to use Inheritance. What you can do in child class ?
Content : What is Encapsulation ? Difference between Information hiding and Encapsulation. How to implement : Example of Encapsulation Why we need Encapsulation ?
In this example, you will find the basic structure and concepts of Java.lang.String with code example and description. / Java Library provide three class to handle Strings * String, StringBuffer and StringBuilder * In this section, the details and working of String class is included, however we will discuss the further parts in upcoming sections.… Read More »
In this example, you will find the details and concept of Local and class variables, initialization and their scope. /* * local variable must be initialized before attempt to use them. * Java will initialize instance variable for you !!! * Java does not give local variable a default value. */