we have a 100 classes at that time which class we have to
write main method? pls help me
Answer Posted / ankit sangal
we should write the main method in that class from where we want to start the compilation.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is this keyword in java?
When will you define a method as static?
Can we execute java program without main method?
Explain different forms of polymorphism?
What is a databasemetadata?
What are the elements of java?
What is integer size in java?
What is use of static method?
What is a local, member and a class variable?
Can you have two constructors in java?
Why does java not support pointers?
What does += mean coding?
What does you mean in math?
Can we use different return types for methods when overridden?
Explain the difference between abstract classes and interfaces in java?