Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

stream loop not ending  RSS feed

 
nitiish chinnaraju
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Report post to moderator

In the above example why the while loop is not ending? after reading the input as "how are you"

how to make this loop end? i dont know. please explain me because i'm new to java
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'd say this is pretty much identical question (though a bit different code) to the other one of yours. Please continue the discussion there.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!