0

What is the use of static and void ?

Need an easy understandable explanation

1st Jan 2017, 6:14 PM
santhosh
santhosh - avatar
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.
1st Jan 2017, 6:30 PM
Andreas K
Andreas K - avatar