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

What does business logic mean?

501


What is the difference between char and char *?

563


Why put method is idempotent?

456


Is zero a positive integer?

529


What is difference between path and classpath in java?

483






What is hashmap and map?

550


What is volatile data type?

549


What is the difference between notify and notifyall method?

609


Explain exception chaining in java?

605


Are global variables initialized to zero?

507


What are assembly attributes?

539


Define an abstract class with reference to java.

573


What is a subsequence of a string?

541


What are the 6 mandatory procedures for iso 9001?

527


Can we increase array size dynamically in java?

503