SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Java Interview

» Start this Course
(Practice similar questions for free)
Question:

To break it down. Public means you can call this method outside of the class we are currently in. This is important for Java runtime system which is not located in your current class. Static because when the JVM calls to the main method there is no object existing for the class being called. Void because java is platform independent language and if it will return some value then the value many mean different things to different platforms. Main, the name of the method. The name is fixed and its called by the JVM. String args[] this are arguments of type string that your java application accepts when you run it.

Author: Jerry Mathew



Answer:

The whole (public static void main(String[] args) {)


0 / 5  (0 ratings)

1 answer(s) in total