Why main() method is public, static and void in java ?


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

Post New Answer

More Core Java Interview Questions

What is the transient keyword?

4 Answers  


write a class to input 2 points by the user & check the line maked by the points is horizontal,vertical or rectangle?

1 Answers  


What is the diff. b/w Interfaces & Abstract class?

6 Answers   Ericsson,


What is multithreading in java?

0 Answers  


What is the default value of byte datatype in java?

0 Answers  


Why null value is used in string?

0 Answers  


Which method returns the length of a string?

0 Answers  


What are other modifiers?

2 Answers   Wipro,


Can we inherit the constructor in a Class?please give one example.

9 Answers   iGate,


How do you load an HTML page from an Applet ?

2 Answers  


Why can't you declare a class as protected?

0 Answers  


Can a static block throw exception?

0 Answers  


Categories