why and when I have to use FileReader and BufferedReader. What is the difference between the two?
A FileReader class is a general tool to read in characters from a File. The BufferedReader class can wrap around Readers, like FileReader, to buffer the input and improve efficiency. So you wouldn't use one over the other, but both at the same time by passing the FileReader object to the BufferedReader constructor
Subscribe to:
Comments (Atom)
What is Map Collection?
A map collection refers to a set of maps that are compiled and organized for a specific purpose, such as research, education, or preservatio...
-
Mapping of classes can be made into a proxy instead of a table. A proxy is returned when actually a load is calle...
-
For any communication with DB, hibernate converts each HQL query to the equivalent SQL query with the configuration based in hbm.xml file to...
-
HQL is nothing but object oriented query language which is very similar to SQL. HQL is used for communication with DB. It supports almost a...