Can we declare the main method of our class as private?


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

Post New Answer

More Core Java Interview Questions

Should you use singleton pattern?

0 Answers  


List java api that supports threads?

1 Answers  


Can a class have multiple superclasses?

0 Answers  


Add a value x to array from index l to r where 0 <= l <= r <= n-1

0 Answers   Amazon,


What is java reflection?

0 Answers  






Can you run java program without main method?

0 Answers  


In the below example, how many string objects are created?

0 Answers  


How concurrent hashmap works?

0 Answers  


What is difference between Iterator and for loop

9 Answers   HP,


Can Applet have constructors?

5 Answers   Infosys,


What are the main uses of java?

0 Answers  


Inorder to specify a container?s layout, which method is used?

1 Answers  


Categories