Can we execute a program without main() method?


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

Post New Answer

More Core Java Interview Questions

What are other modifiers?

2 Answers   Wipro,


What is aggregation?

1 Answers   Cap Gemini,


Can we define constructor in inner class?

0 Answers  


What is replaceall in java?

0 Answers  


What is downcasting?

0 Answers  






where u use Abstraction and Interface in real time

3 Answers   Sonata,


What is the difference between hashmap and hashtable in java?

0 Answers  


Can a static block throw exception?

0 Answers  


What are the differences between c++ and java?

0 Answers  


What is a layout manager and what are different types of layout managers available in java awt?

0 Answers  


What is java object name?

0 Answers  


we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }

3 Answers  


Categories