we have a 100 classes at that time which class we have to
write main method? pls help me
Answer Posted / pravallika
But compile time point of view main method is not required.so we can write main method in any one class is possible.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What will happen if static modifier is removed from the signature of the main method?
When is the finally clause of a try-catch-finally statement executed?
What is native code?
What is an escape character in java?
How does sublist works in java?
Is java a pure object oriented language?
How to solve the problem of generating the unique hash keys with hash function?
Explain the features of java?
What is package private scope in java?
What is meant by class loader? How many types are there?
Explain the difference between jvm and jre?
What is the indent key?
What is a flag and how does it work?
What is the difference between an if statement and a switch statement?
How do constructors use this() and super()?