What is the use of static keyword in "public static void
main()"
Answer Posted / kiran kumar
here public is access modifier it can run out side of the
class.
static means it is constant.
void means it is no return type.
main() means the program will run from here.
| Is This Answer Correct ? | 8 Yes | 12 No |
Post New Answer View All Answers
Difference between static and dynamic class loading.
Can we declare main () method as non static?
What are the two types of java programming?
What does main method?
Which package has light weight components?
Can static methods access instance variables in java?
What is fail fast in java?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What class allows you to read objects directly from a stream?
Is object a data type?
Where we write javascript code in html page?
Can we have multiple public classes in a java source file?
What is a ternary operator in java? What is an interface?
What is an empty list in java?
What is the difference between sleep and wait in java?