Computer Science, asked by jkmitra, 11 months ago

what is the meaning of DataInputstream in a java program?

Answers

Answered by gamer358
3
✳️The Java DataInput Stream class enables you to read Java primitives (int, float, long etc.) from an InputStream instead of only raw bytes. You wrap an InputStream in a DataInputStream and then you can read Java primitives from the DataInputStream. That is why it is called DatainputStream- because it reads data (numbers) instead of just bytes.
Attachments:

gamer358: Ohh sorry plzz report my ans..
gamer358: From safari...
gamer358: But why?
gamer358: If it's wrong u have to report it ri8?
gamer358: R u a boy?
gamer358: Then?
Similar questions