What is the use of static keyword in "public static void
main()"
Answer Posted / subha, bijji
a static is a method that is called with out using object.
we can call a static method is like classname.method name.
it is very usefuul in public static void main()
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can singleton class be inherited in java?
Can we override private methods?
What is array sorting in java?
What methods are used to get and set the text label displayed by a button object?
What are user defined exceptions?
What are the topics in core java?
What are aggregate functions explain with examples?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What are different types of inner classes ?
Mention a package that is used for linked list class in java.
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Can main() method in java can return any data?
Why can't we override private static methods?
What are the new features in java 8?
Why heap memory is called heap?