Why declare Main() inside the class 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 a dot notation?

0 Answers  


Why is the type for real numbers called double?

0 Answers  


How do you implement polymorphism in our day to day life?

0 Answers   Cap Gemini,


How many bytes is a string java?

0 Answers  


Is string pool garbage collected?

0 Answers  






String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

0 Answers  


What is a condition in programming?

0 Answers  


Difference between Application and Applet ?

4 Answers   Wipro,


Why is static used?

0 Answers  


How can you read an integer value from the keyword when the application is runtime in java? example?

0 Answers   HCL,


Explain java thread life cycle.

0 Answers  


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

0 Answers  


Categories