Change Method Call On the Fly:: CallSite

Change Method Call On the Fly:: CallSite
In my previous article, I talked about invokeDynamic, In this article, I will show you the coding how you can leverage the power of invokedynamic. We all know that to load a class dynamically and call a method at runtime we use Java Reflection, Framework developers are often used...

Overriding in Java in context of design.

Overriding in Java in context of design.
p { margin-bottom: 0.25cm; line-height: 120%; } Overriding in Java in context of design.    While you are going for an Interview for a Lead or Developer role. The interviewer will definitely ask you some questions on Overriding and...

Understand protected modifier in java

Understand protected modifier in java
Understanding most critical access modifier  protected in java? We all know Java has three access modifiers a, public b. protected c. private and four access levels  a.public b. protected c. private d. default among them protected is the...