Tag Archives: interface
Java 8 : Default method in Interface
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
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
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