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


Please Help Members By Posting Answers For Below Questions

How do I compare two strings in word in java?

755


What do you mean by object?

731


Explain purpose of sleep() method in java?

844


What is the difference between the size and capacity of a vector?

794


What are the high-level thread states in java programming?

845


What is instance example?

727


What is google full form?

766


What are access specifiers in java ?

802


Can we return null in java?

842


What is a lambda expression ? What's its use ?

824


What is difference between overloading and overriding in java?

756


Explain about join() method?

746


What is java Applet?

834


Difference between predicate, supplier and consumer ?

817


What is stringwriter?

741