Tag Archives: interface

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 8 (Prog 2) : Test Inner Class 2nd

By | June 13, 2013

In this example you will find Anonymous Inner class concepts, Inner class concepts in java, and also some tricks about Interface. /*  * TestAnonymousInnerClass.java  *  * This Example includes…  *          1. Method inside Interface with body.  *          2. Inner Class inside Interface.  *          3.… Read More »

Unit 8 (Prog 1) : Test Inner Class

By | June 11, 2013

In this example, you will find the concept of Inner class in java, how to declare and access the inner class properties. Access modifiers and their effect on inner class properties. Java doc for Inner class in given Here : Inner class in java