Why do we use public static with the main function in Java?
Answer Posted / abhijit
public means-accessable from anywhere
static means-the point ,from where compilar can start its
compilation without object.
| Is This Answer Correct ? | 11 Yes | 10 No |
Post New Answer View All Answers
How can we find the actual size of an object on the heap?
What are the important features of Java 8 release?
What is constant in programming?
What is synchronization and why is it important in java programming?
Why we use methods in java?
What does singleton class mean?
Where is const variable stored?
What is not object oriented programming?
What is jar?
What is a conditional statement explain with example?
Can we have multiple classes in single file ?
How will you reverse a link list without using recursion?
How do you sort in descending order in java using collections sort?
Can we call thread start () twice?
Which methods are used during serialization and deserialization process?