0

Why i can't initialize a primitive type in main method in Java codes ?

Please help me...

30th Nov 2019, 12:20 PM
Chinmay Chirag6
2 Answers
+ 3
You CAN initialize a primitive data type in the main method. It is only a problem if you don't initialize it before using it.
30th Nov 2019, 12:29 PM
Avinesh
Avinesh - avatar