Why we can't put semicolon at the end of a class in java??

Showing Answers 1 - 5 of 5 Answers

anil kumar

  • Oct 27th, 2005
 

We can give semicolon at the end of the class. but it is not necessary, generally we will not use because java uses } as the end of the class, semicolon for end of the statements.

  Was this answer useful?  Yes

Devidas Sonawane

  • Nov 8th, 2005
 

Semicolon is given at the end of sentence not at the end of class and class start with open brace ({) and end with the close brace (}). but for annonymous inner class we can give semicolon.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions