0
Please explain static and void again
3 RĂ©ponses
+ 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?