what is the meaning of DataInputstream in a java program?
Answers
Answered by
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..
Similar questions