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
What are the problems faced by java programmers who don't use layout managers?
What are the types of strings?
What is ++ a in java?
Where pragma is used?
What is the definition of tree ?
What is purpose of keyword void?
What is difference between array and arraylist in java?
What is a constructor, constructor overloading in java?
Explain creating threads by extending thread class ?
What are the benefits of operations?
What is ‘has a’’ relationship in java?
Does a class inherit the constructors of its superclass in java programming?
What is the use of keywords in java?
What is anti pattern in java?
Why lambda expression is used in java?