0
Please explain static and void again
3 Answers
+ 6
static is used when that method or variable can be accessed by the class (not the object)
Void is a return type meaning that function or method returns nothing.
+ 2
Void is a function without return statement!
Static is a called when variable or method can not be accessed by object!
+ 1
âď¸ 2617098409409140 âď¸ does that mean it is shared by the whole class?