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
How does class forname work in java?
Explain purpose of sleep() method in java?
What is anagram number?
what is the use of bean managed and container managed with example?
What are the 5 types of research methods?
Explain an algorithm to find depth of a binary tree.
What is final keyword in java? Give an example.
What are the Class Libraries ?
Can constructor be synchronized?
Explain the public class modifier?
What is the difference between comparison done by equals method and == operator?
Does the order of public and static declaration matter in main method?
What does yield method of the thread class do?
What are the methods available in a class?
What is the main use of generics in java?