In Java why we write public static void main(String args[])
why not main()?
Answer Posted / guest
main() will be treated as just another method.
but public static void main(String args[])
is treated as entry point of an java application
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the types of arrays in java?
What are class members by default?
What is ternary operator? Give an example.
What is the static block?
What is a java list?
What are the legal operands of the instanceof operator?
Does java vector allow null?
What is ternary operator in java?
What is the difference between checked exception and unchecked exception?
Where is const variable stored?
What is the use of object and class classes?
Which is the class in java?
What is the difference between exception and error in java?
What is Gang of four design patterns
What are the differences between this and super keyword?