• Post Reply Bookmark Topic Watch Topic
  • New Topic

DataInput interface  RSS feed

 
Sharang Thorat
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DataInput interface documentaion states that :
The data input interface is implemented by streams that can read primitive Java data types from a stream in a
machine-independent manner.

when everything in java is machine independent why is specifically uses the word "machine-independent manner"
can any body elaborate on the issue or suggest something for
for reading.
 
anuj khanna
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
trying to solve your problem.
you know why streams are used in java.streams are abstract representation of a device.so that your program becomes device independent.u read and write to streams instead of devices thus your program can work with any device.well i hope i've been able to clarify your doubt.if not feel free to ask again.
bye for now
anuj khanna
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!