Why the object needs semicolon at the end..??? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Why the object needs semicolon at the end..???

10th Oct 2017, 2:03 PM
Abhishek
Abhishek - avatar
2 Réponses
+ 10
putting ; is standard way end a statement in java
10th Oct 2017, 3:11 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
0
For a statement, yeah. But that's a constructer right, there was no use of semicolon in the constructor chapters.
10th Oct 2017, 2:18 PM
Abhishek
Abhishek - avatar