The main method in java is defined as a public method, and this method is defined in the class by default. let's say
class test{ public static void main(String args[]){ System.out.println("Hi"); } }
can you explain how the JVM can access this main method since the class is by default and can only be accessed in the package.
java
mazem Jul 22 '11 at 19:14 2011-07-22 19:14
source share