0
What is the use of static and void ?
Need an easy understandable explanation
1 Answer
+ 1
static means it is part from the class and you dont have to initialize an object of the class to use it.
void is a method return type which you use when you dont want to return a value.