What will happen if we declare don’t declare the main as static?
Answer Posted / glibwaresoftsolutions
Without utilizing static and without encountering any issues, we may declare the main method. However, the primary method will not be regarded as the program's or application's entry point.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to find the greatest of three numbers in java?
What is the maximum size of list in java?
What is stack example?
Is there any tag in htm to upload and download files?
Is string passed by reference in java?
What is nextline method in java?
What is the difference between super class & sub class?
What is binary tree in java?
What is stringreader?
How can constructor chaining be done by using the super keyword?
What are the ways in which a thread can enter the waiting state?
Why hashmap is used in java?
If a method is declared as protected, where may the method be accessed?
Explain what access modifiers can be used for methods?
What is the type of lambda expression?