What happens when a main method is declared as private?

Answer Posted / md parwez alam

does not have a main method

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you use this() and super() both in a constructor?

518


Can a class be declared as static?

667


What is use of arraylist in java?

574


What are the procedures?

602


Explain tree set and its features?

593






Can we return null in java?

636


Can we sort a map in java?

570


What are class members by default?

653


What is the difference between final, finally and finalize()?

535


What is a treeset class?

546


How can you avoid serialization in child class if the base class is implementing the serializable interface?

625


What is the difference between equals() and?

575


How big is a gigabyte?

607


What class allows you to read objects directly from a stream in java programming?

502


What are the 7 types of characters?

558