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
How do you override a variable in java?
how to convert Java project into Maven ?
What are inner classes or non static nested classes in java?
What is floating data type?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Write a program to check for a prime number in java?
What do you understand by weak reference?
What is a blocking method in Java?
How does a for loop work java?
How do you use parseint in java?
Can we execute a program without main() method?
What are the four pillars of java?
What does system.gc() and runtime.gc() methods do?
Can you change array size in java?
How can we make string upper case or lower case?