Why do we use public static with the main function in Java?
Answer Posted / abhi
why all these guys used to say "no need to create objects for a static class" tell what advantages u wil b geting without creating an object.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What happens when main () method is declared as private?
How do you add an arraylist to an array in java?
What is null mean in java?
Is string a wrapper class?
What are the benefits of immutable objects?
Can we write class inside a class in java?
What is the r character?
Where are local variables stored?
What happens if an exception is throws from an object's constructor?
What is a byte string?
What is an anonymous class in java?
what are abstract functions?
Which package is imported by default?
What does n mean in java?
What is data type in java?