Answer Posted / chaithanya
main method is called by JVM.without creating the object we are calling main.that's what it is declared Static.
static nothing but without creating the object,we can call that method
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is overloading and overriding in java?
What are the differences between string and stringbuffer?
What are predicates in java 8?
How to stop a thread in java? Explain about sleep () method in a thread?
What is a condition in java?
What is the order of arraylist in java?
What is incompatible types in java?
In which order the iterator iterates over collection?
why Java does not support multiple inheritances?
Explain static nested classes ?
what is interface in java? Explain
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
What are the parts of a method?
When should I use singleton?
What are computer functions?