is it necessary to be the class name in small latter??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

is it necessary to be the class name in small latter???

i made a java class with block latter and it compiled but i am not getting the correct output that the output is the default value of the datatypes like for int, it is null and for string it is null.

6th Jul 2016, 2:12 PM
vivek
2 Answers
0
no it's not necessary
8th Jul 2016, 4:25 PM
Ravi Jain
Ravi Jain - avatar
0
It's not necessary, but try to make it simple and write the full name in a comment.
18th Jul 2016, 4:33 AM
Lhoussine El manoug
Lhoussine El manoug - avatar