aspose file tools
The moose likes IDEs, Version Control and other tools and the fly likes why netbeans is showing output in this way ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "why netbeans is showing output in this way ?" Watch "why netbeans is showing output in this way ?" New topic
Author

why netbeans is showing output in this way ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

why netbeans is showing output in this way





input is 20 , 20.
addition : 40 should be the last line normally ....can any one help me with this here


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5850
    
    7

I think the issue is that you have two buffered readers. Create only one reader and use it to read both values.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why netbeans is showing output in this way ?
 
It's not a secret anymore!