Computer Science, asked by thaufiq1, 1 year ago

In Java; What is the use of static in main method?

Answers

Answered by lucidkit
0

Suppose, if you declare an variable as static that variable value wont change there after.

static int a = 5;

The value of variable a wont change

Similar questions