In Java syntactically it is possible and allowed to define constants in both Interface and Class. In old days putting…
1 commentAES (Advanced Encryption Standard) is Symmetric Encryption specification for the encryption of electronic data established by the U.S. National Institute…
2 commentsProgramming multi threading and concurrency has been in Java for a while. Concurrency utility package java.util.concurrent (introduced Java 5) made…
2 commentsDefault method in interface As you know that an Interface in java can have only Abstract methods and a class,…
1 comment“A Java developer who has not met NullPointerException” is a myth. NullPointerException is king of exceptions in Java. People call…
3 commentsAs a programmer quite often we hit the need to join multiple string values separated by a delimiter. For example…
add commentLambda Expression is new feature of Java 8. Before Java 8 Anonymous Inner Class was very useful to write method…
add commentIn simple term, a Lambda Expression is implementation of a Functional Interface. Lambda Expression is a way to provide implementation…
add commentBefore Java 8, an interface could only declare one or more methods also known as Abstract Method (method with no…
add comment