Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

stream loop not ending

 
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.
 
    Bookmark Topic Watch Topic
  • New Topic