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
Can a class be private in java?
What is string and example?
What is the major advantage of external iteration over internal iteration?
What environment variables are required to be set on a machine in order to run Java programs?
Is void a type?
What is space character in java?
What are three advantages of using functions?
Can we write multiple catch blocks under single try block?
What do you mean by an object in java?
What is the use of object and class classes?
What is java ceil?
What is an immutable object?
What are streams in java 8?
Can extern variables be initialized?
What is class forname?