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
How do you sort a string in alphabetical order in java?
What is meant by main method?
What are the features of java?
What is "this" keyword in java? Explain
What are advantages of exception handling in java?
what is thread? : Java thread
Is space a character in java?
Why is the main method declared static?
What is final class?
What is oop in java?
What are the advantages of exception handling in java?
What are constants and how to create constants in java?
What is an interface in java? Explain
Can we create more than one object singleton class?
How do you empty a list in java?