0
Please explain static and void again
3 Respostas
+ 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?