[Tech.][Struts.][Servlet.][JSP.][EJB.][JNDI-JMS][SQL.][JDBC.]
CORE-JAVA: [OOP][CLASS][ABSTRACT][EXCEPTIONS][THREADS][UTILS][PACKAGES][JVM][CASTING][NETWORKING][RMI-XML]
What is the purpose of the File class? (i/o)
The File class is used to create objects that provide access to the files and directories of a local file system.
What class allows you to read objects directly from a stream? (i/o)
The ObjectInputStream class supports the reading of objects from input streams.
What an I/O filter? (i/o)
An I/O filter is an object that reads from one stream and writes to another, usually altering the data in some way as it is passed from one stream to another.
What is the difference between the File and RandomAccessFile classes? (i/o)
The File class encapsulates the files and directories of the local file system. The RandomAccessFile class provides the METHODS needed to directly ACCESS DATA contained in ANY PART of a file.
What interface must an object implement before it can be written to a stream as an object? (i/o)
An object must implement the Serializable or Externalizable interface before it can be written to a stream as an object.
What information is needed to create a TCP Socket? (I/O)
The Local System's IP Address and Port Number. And the Remote System’s IP Address and Port Number.
What value does read() return when it has reached the end of a file? (i/o)
The read() method returns -1 when it has reached the end of a file.
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy? (i/o)
The Reader/Writer class hierarchy is CHARACTER-oriented, and the InputStream/OutputStream class hierarchy is BYTE-oriented.
What value does readLine() return when it has reached the end of a file?
The readLine() method returns NULL when it reaches the end of a file.
*[Religion-of-the-Universe.][Religion-and-cast.][Putting-our-sincere-efforts.][Blind-Men-And-The-Elephant.]
Here is a small "Story of grandpa" to explain what's the "Logic of good and bad".
Perceptions.
Issue-of-Illegal-Immigration. To-which-religion-does-this-universe-belongs-to? Law-and-order-helps-to-maintain-justice. Implementing-regulations-by-justice. Puttting-our-sincere-efforts. Religion-and-cast. Impact-of-reservation-based-on-religion-and-cast. Free-and-Fare-Education-system/Electoral-system.
No comments:
Post a Comment