Java – ‘ ) ‘ expected error

if (solidom.equalsIgnoreCase("esfera")

should be:

if (solidom.equalsIgnoreCase("esfera"))

You have right closing parenthesis missing in your if conditions.

PS: You should really be using an IDE like Eclipse to write your code which will help you immensely to overcome these simple syntax errors

Leave a Comment