Java – Java SE 7 Features

Java SE 7 is a major release that has brought many new features and enhancements in Java programming. Java SE 7 Features Swing Swing is the Java framework, in Java SE 7 there are various enhancements in javax.swing package. Providing the JLayer class to decorate...

Java – Encapsulation in Java

Encapsulation is a protective mechanism by which members of a class (method and variables) are prevented from being accessed by members of other class.  The best example of encapsulation is the class because that binds its variables and methods and hides their complexity from other...