Answer Posted / saravanan.v
Java is a object oriented language.So even main method also should be written inside a class name main class.So main method should be called WITHOUT CREATING OBJECT for main class.For this purpose, it is declared as static.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
State one difference between a template class and class template.
What is mysql driver class name?
How many types of exception can occur in a java program?
When is the finalize() called? What is the purpose of finalization?
What is the benefit of inner / nested classes ?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is a pointer and does java support pointers?
Write a program to print fibonacci series
What is are packages?
Why do we create public static method in java?
What is a war file?
What is Major and importance difference between for and foreach loop ?
What is procedure overloading?
what are the disadvantages of indexes in oracle?