how to execute main()
Answers were Sorted based on User's Feedback
Answer / suresh royal
main() method is the JVM known method so jvm
will start the exicution from main method ,that main() method is static so no need to call
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / sadikhasan palsaniya
main method is executed by JVM. User cant execute it.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / atul
main() is execute by the jvm.if class have main()method &
class loader is load class in method area.
then Jvm call main() method;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / karthika
By using object creation,we can execute main method.
| Is This Answer Correct ? | 1 Yes | 7 No |
Which of the following can be referenced by a variable? A. The instance variables of a class only B. The methods of a class only C. The instance variables and methods of a class
What if static is removed from main method?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
how can i take the inputs from users in java program?
Is logger a singleton?
Why volatile is used in java?
What is the difference between state-based unit testing and interaction-based unit testing?
Explain Basics of OOP Language in java
How to create packages in java?
What is string pool?
What is number data type in java?
How to re-get an object that is collected by garbage collector?