Tuesday, 31 January 2012
JAVA: FileInputStream vs FileReader
Do you like this Article?
Class FileInputStream:
- It is use for reading stream of data from a file in the form of raw bytes(8-bit).
- Very useful to read image.
- It can also read character files.
- It is use to read stream of character data.
- It can only read character data, so its the best way of reading character files.
Subscribe to:
Post Comments
(
Atom
)
Popular Posts
-
public - public means everyone can access it.That means it's in global scope. As, main method is called by JVM [ Java Virtual Machine...
-
throw is used to throw an exception in a program, explicitly . Whereas, throws is included in the method's declaration part, wi...
-
Singleton in one of the most popular yet controversial design pattern, in the world of object oriented programming. It's one of t...
-
Web Container / Servlet Container / Servlet Engine : In J2EE Architecture , a web container (also known as servlet container or ser...
-
Program compiles. But at runtime throws an error “NoSuchMethodError”.
-
Vector : It's synchronized. It's slower than ArrayList. It's generally used in ...
-
doGet(): protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, java.io.IOException – is a met...
-
In Java Programming Language , we must declare a variable name and type, before using it. The data type of a variable defines the th...
4 Responses to “ JAVA: FileInputStream vs FileReader ”
5 March 2012 at 02:01
wyc!! .... & Thanks for commenting! :)
20 March 2012 at 19:07
excellent questions....i am a basic learner learning java at this time and i find interesting concepts.....
thankyou....
22 March 2012 at 21:14
Thanks for commenting!... If u have any questions regarding these topics feel free to ask me anytime!!
21 March 2022 at 07:58
Really this article is truly one of the best in article history and am a collector of old "items" and sometimes read new items if i find them interesting which is one that I found quite fascinating and should be part of my collection. Very good work!
Data Scientist Course in Gurgaon
Post a Comment