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 special characters?
What is a data structure java?
What is the access scope of protected access specifier?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What is passing parameters in java?
What best practices should you follow while writing multithreaded code in java?
What is the use of arrays tostring () in java?
What is string data type?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What are singleton services?
Explain 5 io best practices?
What is nan inf?
Difference between process and thread?
Can a boolean be null java?
What is a locale?