• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help me to solve this error  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am beggener in Java, so please help me out.
This is the code


and the errors are attached
Capture.PNG
[Thumbnail for Capture.PNG]
 
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

You have a syntax error. Carefully look at line 7:

The first set of parentheses doesn't belong there. It should be like this:

 
Aqsa Anum
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jesper de Jong wrote:Welcome to the Ranch.

You have a syntax error. Carefully look at line 7:

The first set of parentheses doesn't belong there. It should be like this:



Thank you, Today this was my first error in Java. Because I am biggner in java. I am sure, I will grab all things/concepts of java, with practice, hard work and by asking questions

Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!