Forums Register Login

different betwean InputStream and FileInputStream

+Pie Number of slices to send: Send
what is the different betwean InputStream and FileInputStream?
why we use FileInputStream for Deserilization than InputStream
+Pie Number of slices to send: Send
A FileInputStream is a specialized InputStream that only works with files.

InputStream itself is more general - besides FileInputStream, you can also retrieve InputStreams to read from URLs (through java.net.URL and java.net.URLConnection), databases (through java.sql.ResultSet), or in theory every source of data.
Replace the word "snake" with "danger noodle" in all tiny ads.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 6030 times.
Similar Threads
How to create a ResourceBundle from a file name (not a base name)
io
loading properties file
TEMP file question
Question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:44:56.