what is the significance of the words public, static and void
Answers
Answered by
2
Answer:
public : it is a access specifier that means it will be accessed by publically.
static : it is access modifier that means when the java program is load then it will create the space in memory automatically.
void : it is a return type i.e it does not return any value. main() : it is a method or a function name.
Similar questions