• Post Reply Bookmark Topic Watch Topic
  • New Topic

Collections  RSS feed

 
vuthlarhi donald
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone explain the unchecked warning that is given in line 3 and why it occurs


[ January 27, 2008: Message edited by: vuthlarhi donald ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no line 3.
All of your code is in a single line.

If you click the icon in your first post, you will be able to edit it to make it more readable.
 
Campbell Ritchie
Marshal
Posts: 56530
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for editing your post.

Why do you think it occurs in no 3 and not in no 1 and 2?
 
Rob Spoor
Sheriff
Posts: 21133
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Campbell Ritchie:
Thank you for editing your post.

Why do you think it occurs in no 3 and not in no 1 and 2?

Because that's what the compiler tells you. I tried, and got the warning on line 3.
 
Campbell Ritchie
Marshal
Posts: 56530
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now that's a really helpful answer!
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posted answer to a similar question here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!