What happens when a main method is declared as private?
Answer Posted / sagar chavan
If the main function is made private,
we can do it but the starting point of project should be changed. By default it is main.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Who developed java?
What is a variable simple definition?
How can you add and remove nodes in jtree?
Is java code slower than native code?
What is lazy initialization in java?
Why map is used in java?
What is the difference between java applets and applications?
Explain different states of a thread in java?
What are selection structures?
What is an example of a boolean?
Explain, java is compatible with all servers but not all browsers?
What is double data type?
What are the differences between graph and tree?
What is array sorting in java?
What are format specifiers in java?