-
Accessing Private Members of a Java Class using Reflection
Java Reflection API provides a feature to access private members of a Java Class. java.lang.reflect package provides the AccessibleObject class…
-
Static Imports
We have been using lots of import statement in our code. The only value import statement have is that they…
-
JAVA Class Without Main Method
[ CoreJavaTest.java ] public class CoreJavaTest extends MainClass { { System.out.println(“Inside CoreJavaTest”); } } class MainClass { public static void…