Hi,
I have a few basic doubts in java .
Statment:
class MainExample1 {public static void main(String[] args) {}}
class MainExample2 {public static void main(String []args) {}}
class MainExample3 {public static void main(String args[]) {}}
1.What is the difference between the above three statments.?
2.Why main method should be declared as void?
3.Why should not we change the String type to int or float in main method
Thank you,
With Regards,
Prem