aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes DataInput and DataOutput Interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "DataInput and DataOutput Interfaces" Watch "DataInput and DataOutput Interfaces" New topic
Author

DataInput and DataOutput Interfaces

Doit
Ranch Hand

Joined: Aug 03, 2000
Posts: 169
I read somewhere that the classes that implement DataInput and DataOutput Interfaces provide methods to support the reading and writing of all primitive data types. Can some one list which classes implement those interfaces?
- Thanks
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am following this discussion groupg for the past week and I see that you keep on asking questions which you can easily find out if you look in the API.
FYI, there is something called Javadocs for JDK 1.2 API which you can download from the sun site.
doit!!
-Jamon
Doit
Ranch Hand

Joined: Aug 03, 2000
Posts: 169
Hi Jaman,
sometimes it is easy to understand from people's explanation rather than going through big documents.
Mr dean, thats is what for we go to schools,otherwise we can read books sitting at home.
- Thanks
Hema
Greenhorn

Joined: Aug 01, 2000
Posts: 12
Classes that implements Datainput are
DataInputStream & RandomAccessFile
The ones that implements DataOutput are
DataOutputStream & RandomAccessFile
And they have methods to read/write all primitives.
Cheers,
Hema
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I had anticipated your reply...The question that you asked "list the classes that implement Data..." has nothing to do with understanding. You never took pains to look into the API and find out the answer. You are simply asking for spoonfeeding.
I hope you understand this.
-Jaman
Doit
Ranch Hand

Joined: Aug 03, 2000
Posts: 169
Thanks Hema,
U can add ObjectInputStream also to the list!!
- Cheers
manal
Ranch Hand

Joined: Aug 17, 2000
Posts: 45
hi ....
u r absolutely right doit otherwise there is no neeed 2 visit such a forum ....
manal ...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataInput and DataOutput Interfaces
 
Similar Threads
if must use DataInputStream ?
Choice of book
DataOutputStream
B&S: Data read requirement
RandomAcessFile