0
What if we declare method Inside a main method in java
5 Answers
+ 4
Java doesn't allow that!
Only python allows that!
You can make a function outside the main method and call it!
+ 2
Try, and you got result!!!!))
0
Error?
0
I just need to know y it throws error
0
Tysm Namit share some good resources for learning coding