we have a 100 classes at that time which class we have to
write main method? pls help me

Answer Posted / pravallika

we can write main method in any class is possible.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the SimpleTimeZone class?

1874


Explain about data types?

660


When is the finalize() called?

795


Why java is called not pure object oriented language?

679


What is difference between final and immutable?

644






What is a boolean in java?

666


Give any two differences between C++ and java.

648


Which is easier netbeans or eclipse?

709


What is the use of optional ?

656


Explain the importance of finalize() method.

652


What is the difference between int and integer in java?

623


Can we nested try statements in java?

710


How do you use parseint in java?

597


Is passing by reference faster?

605


how are methods defined?

638