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
What is difference between local variable and global variable?
what is the difference between thread and runnable types? : Java thread
what is the purpose of the runtime class?
What is the difference between an argument and a parameter?
What is multithreading and its advantages?
What is Java Package and which package is imported by default?
What is variable explain?
Is age a discrete variable?
Is Java a dying language?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is the difference between static and non-static variables in java programming?
How many types of methods are there in java?
Explain the difference between intermediate and terminal operations in java8?
Explain parallel processing in java8?
What is the type of lambda expression?