+ 1
Declaration, Definition and Calling of Methods in JAVA
Q1.Can we define methods either after or before calling it? Q2. If we want to define the method after calling it, then do we need to declare it before calling it in main.... like in C.
3 ответов
+ 2
What language are you talking about?
+ 1
JAVA
+ 1
Yes you can.
No, you don't have to.