In Java why we write public static void main(String args[])
why not main()?
Answer Posted / kanchan bangar
becoz in java programs execution is starts from main method
and static method is for the first preference
method.ppublic is for the global scope to all over the
progarms..............
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the important features of Java 9 release?
Is the empty set a singleton?
What is integers and example?
how can you take care of mutual exclusion using java threads? : Java thread
Can you tell me range of byte?
What do you mean by object?
Is null a keyword in java?
What is meant by oops concept in java?
What does || mean in code?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What is percentage in java?
What are the differences between string and stringbuffer?
Write a java program to count the number of words present in a string?
What is Garbage Collection in Java
Explain java coding standards for interfaces?