+ 1

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

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