0
why 'static' required for all methods ?
5 Answers
+ 2
not for all methode if u call a method inside static methode than declared methode as a static and if u dont want to decalared methid but still u want to call non statc methode inside static than create the obj of that class on that object call non static methode.
hope u got some what...
0
yes
0
its not required for all methods. Only main method requires static to be mentioned. Based on requirement of calling other methods from main, it may be required
0
static is used for some methods when you exacatly want single copy/instance
0
Static = running the method can't modify the method, if I remember correctly