0
Square
Can anyone explain the meaning of static void square?
2 Answers
0
Not enough information provided. Is that really how the code was written?
It can't be variable declaration because `void` mostly only used as method return type. And it can't be function declaration either, there's no parentheses in the code.
You need to elaborate more if you're still interested for answers. In the meantime, read this, and review the course đ
https://www.sololearn.com/learn/Java/2156/?ref=app
0
void mean method returns nothing
static mean you can use method (or class variable) without create object (instantion) of this class