Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataInput and DataOutput Interfaces

 
Doit
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Hema,
U can add ObjectInputStream also to the list!!
- Cheers
 
manal
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ....
u r absolutely right doit otherwise there is no neeed 2 visit such a forum ....
manal ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic