wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes available(),skip() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "available(),skip()" Watch "available(),skip()" New topic
Author

available(),skip()

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129

Output:
626616616616616616616616616616616
class Fil

In the above program, what is the purpose of using available(), skip() and read(byte[],int,int). Please explain the program.
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
Before you can answer that specific question, you need to know what these methods do individually. The API docs can help you with that.
[ September 02, 2005: Message edited by: Stuart Gray ]
 
Consider Paul's rocket mass heater.
 
subject: available(),skip()