Why the object needs semicolon at the end..??? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

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

10th Oct 2017, 2:03 PM
Abhishek
Abhishek - avatar
2 Respuestas
+ 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