0

Square

Can anyone explain the meaning of static void square?

5th Oct 2019, 3:50 AM
Brian
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
5th Oct 2019, 5:16 AM
Ipang
0
void mean method returns nothing static mean you can use method (or class variable) without create object (instantion) of this class
5th Oct 2019, 5:31 AM
zemiak