If an application has multiple classes in it, is it okay to have a main method in more than one class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

0 Answers   Wipro,


What is a method header?

0 Answers  


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

6 Answers   HP, SparkTG,


How do you create a method in java?

0 Answers  


What is the technique adopted to create an immutable class?

0 Answers  






Hi Friends, can you explain instance in java. In general instance means "occurence of something" . In java what is instance.

4 Answers  


What is an array length?

0 Answers  


What is the syntax and characteristics of a lambda expression? Explain

0 Answers  


Is java free for commercial?

0 Answers  


What are the different types of inner classes?

0 Answers  


How does linkedhashmap work in java?

0 Answers  


Can an integer be null java?

0 Answers  


Categories