Category: Java


Java 8: New Features

Default Methods or Extension Methods for Interfaces Java 8 allows us to add non-abstract method implementation to interfaces by utilizing the default keyword. Here is our first example:

Besides abstract calculateSqrt method, there is one...


OCPJP: Preparation and exeperience

Keep in Mind before starting preparation  The certification exam is not easy, preparation is time consuming even you experienced java developer. You will feel that you really improved your programming and analytical skills. You...


Enums, Java 5.0

As in Java 5.0, Java lets you to restrict a variable to having one of only a few pre-defined values –  in other words one value from an enumerated list. The items in enumerated...