What is meant by main method?



What is meant by main method?..

Answer / Mohammad Asad

The Main Method is the starting point for any Java application. It's the first line of code that gets executed when you run your program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Difference between string, string builder, and string buffer?

1 Answers  


Distinguish between a predicate and a function?

1 Answers  


How do you take thread dump in java?

1 Answers  


program to validate the IP address? Validity range should be 0 to 255

1 Answers   Huawei,


What is low level language in computer?

1 Answers  


33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac

5 Answers  


What is difference between static variable and global variable?

1 Answers  


What is the char data type?

1 Answers  


what is the difference between static block and static method

19 Answers   Huawei,


How do you create a first line indent?

1 Answers  


which swing component is similar to rich text box in .net/vb

1 Answers  


What is the full meaning of java?

1 Answers  


Categories