• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

DataInput and DataOutput Interfaces

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