What is the meaning of public static void main String args in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Organization for Standardization, Lives in Geneva, Switzerland.
public -its the access specifier means from every where we can access it; static -access modifier means we can call this method directly using class name without creating an object of it; void - its the return type; main - method name string [] args - it accept only string type of argument..and stores it in a string ...
2023-05-07 14:09:58
评论(499)
Helpful(122)
Helpful
Helpful(2)

Olivia Garcia
QuesHub.com delivers expert answers and knowledge to you.
public -its the access specifier means from every where we can access it; static -access modifier means we can call this method directly using class name without creating an object of it; void - its the return type; main - method name string [] args - it accept only string type of argument..and stores it in a string ...