+ 1
What is the difference between "public void" and "public static void" ? And can i have the explanation of what every word mean?
Explanation plz (look at title)
5 Réponses
+ 5
public keyoword is a access modifer mens that you can access veriable, method, class outside of package
void keyword mens nothing you dont want any return value from your method.
static keyowrd is for accesing method, veriable without using object
+ 2
Welcome
Happy coding
+ 1
Sumit Programmer😎😎 thank you!
0
Sumit Programmer😎😎 do you have an example please?