What is public static void main?


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

Post New Answer

More Core Java Interview Questions

What is an example of procedure?

0 Answers  


What do you mean by object?

0 Answers  


What is the difference between java and .Net?

39 Answers   Bosch,


What is string in java is it a data type?

0 Answers  


How will you communicate between two applets?

0 Answers  


What is meant by nested loop?

0 Answers  


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

0 Answers  


what is abstract method with example?

6 Answers   Infosys, Virtusa,


How do you print array in java?

0 Answers  


11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.

6 Answers  


In Serialization, whether you will use Static variables?

3 Answers   HCL,


Is it possible to use string in the switch case?

0 Answers  


Categories