What is the meaning of public static void main String args in Java?

Harper Davis | 2023-05-05 14:09:58 | page views:1086
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Benjamin Wilson

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

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 ...
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4