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
What is regex used for?
what is the difference between process and thread? : Java thread
Can we create object of static class?
What is the use of parseint in java?
What restrictions are placed on method overloading in java programming?
What is package protected in java?
What is scanner in java?
How to convert string to byte array and vice versa?
What is the difference between inheritance and encapsulation?
What is the difference between the font and fontmetrics classes in java programming?
Tell us something about set interface.
What two classes are used to read data only?
What is the use of System class?
How many digits can a float hold?
What is * argv?