Why declare Main() method as a static in java ?


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

Post New Answer

More Core Java Interview Questions

How many ways can we create singleton class?

0 Answers  


What is instance example?

0 Answers  


Explain java coding standards for interfaces?

0 Answers  


Consider that class classA, abstract class classB, and final classC have been defined.Which one of the following is correct? 1. classA extends classC implements classB 2. class A extends classB, classC 3. classA extends classB 4. classB implements classC

2 Answers  


write a program to create an vector and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,






Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?

4 Answers   Satyam,


What is the difference between and ?

0 Answers  


what is platform

2 Answers   i3 Solutions,


if a java file without any source code is valid java file?

3 Answers   SparkTG,


What is garbage collection in Java, and how can it be used ?

32 Answers   Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,


What is port number in java?

0 Answers  


What are the main uses of java?

0 Answers  


Categories