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

Do we need to manually write Copy Constructor?

0 Answers   HCL,


In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?

1 Answers   Ericsson,


What is an class?

0 Answers  


Java is pass by value or pass by reference? Explain

0 Answers  


what is jdk1.5 features?

6 Answers   AMS, Virtusa,






Explain about public and private access specifiers?

0 Answers  


basic difference b/w ALL types of JDBC driver.

1 Answers   Systematix,


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

0 Answers  


What is r in java?

0 Answers  


what is unreachable code problem in multiple catch statements

3 Answers  


What are the different ways of creating thread?

0 Answers  


Give me some null interfaces in java?

0 Answers  


Categories