Need to use public,static keywords in main function?
Answer Posted / sreedhar
yes,need two thing, javac execution start with main
method,that method declars the private,protected not access
the out side class.
Staic block is execute the first part of the progream ,u
need to mention the Staic on thet main method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you download stubs from Remote place?
What is the difference between compare and compareto in java?
What are singleton services?
Define a package.
What is locale in java?
Is a class subclass of itself?
What is the platform?
Is string is a class in java?
Explain the private protected method modifier?
What does the three dot emoji mean?
What is difference between stringbuffer and string?
Differentiate between array list and vector in java.
When should a function throw an exception?
What is the function of java?
What is module with example?