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

How do you remove spaces in java?

0 Answers  


Are private methods final?

0 Answers  


What is local class in java?

0 Answers  


What is a serializable interface?

4 Answers  


What is data member in java?

0 Answers  






What is the purpose of the finalize() method?

0 Answers  


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

0 Answers  


Name the method that used to clear the buffer ?

2 Answers  


How to find the largest value from the given array.

0 Answers  


What is the multilevel inheritance. and also give the Example of it ?

5 Answers  


Why javac is not recognized?

0 Answers  


Is it possible to compare various strings with the help of == operator?

0 Answers  


Categories