New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Why the object needs semicolon at the end..???
2 Answers
+ 10
putting ; is standard way end a statement in java
0
For a statement, yeah. But that's a constructer right, there was no use of semicolon in the constructor chapters.