Tag Archives: oop

Java 8 : Lambda Expressions

By | April 4, 2014

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 ?

Java 8 : Default method in Interface

By | March 31, 2014

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.

Unit 2 (Prog 8) : Encapsulation in JAVA

By | February 1, 2014

Content  : What is Encapsulation ? Difference between Information hiding and Encapsulation. How to implement : Example of Encapsulation Why we need Encapsulation ?