Author: saqibkhan

  • OutputStreamWriter 

    Introduction The Java.io.OutputStreamWriter class is a bridge from character streams to byte streams. Characters written to it are encoded into bytes using a specified charset. Class declaration Following is the declaration for Java.io.OutputStreamWriter class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Field Following are the fields for Java.io.OutputStreamWriter class…

  • OutputStream 

    Introduction The Java.io.OutputStream class is the superclass of all classes representing an output stream of bytes. An output stream accepts output bytes and sends them to some sink.Applications that need to define a subclass of OutputStream must always provide at least a method that writes one byte of output. Class declaration Following is the declaration for Java.io.OutputStream class −…

  • ObjectStreamField 

    Introduction The Java.io.ObjectStreamField class is a description of a Serializable field from a Serializable class. An array of ObjectStreamFields is used to declare the Serializable fields of a class. Class declaration Following is the declaration for Java.io.ObjectStreamField class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors…

  • ObjectStreamClass 

    Introduction The Java.io.ObjectStreamClass class is Serialization’s descriptor for classes. It contains the name and serialVersionUID of the class. The ObjectStreamClass for a specific class loaded in this Java VM can be found/created using the lookup method. Class declaration Following is the declaration for Java.io.ObjectStreamClass class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified…

  • ObjectOutputStream.PutField

    Introduction The Java.io.ObjectOutputStream.PutField class provide programmatic access to the persistent fields to be written to ObjectOutput. Class declaration Following is the declaration for Java.io.ObjectOutputStream.PutField class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1 ObjectOutputStream.PutField()Single Constructor Class methods Sr.No. Method & Description…

  • ObjectOutputStream 

    Introduction The Java.io.ObjectOutputStream class writes primitive data types and graphs of Java objects to an OutputStream.The objects can be read (reconstituted) using an ObjectInputStream. Class declaration Following is the declaration for Java.io.ObjectOutputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1…

  • ObjectInputStream.GetField

    Introduction The Java.io.ObjectInputStream.GetField class provide access to the persistent fields read from the input stream. Class declaration Following is the declaration for Java.io.ObjectInputStream.GetField class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1 ObjectInputStream.GetField()Single Constructor Class methods Sr.No. Method & Description 1…

  • ObjectInputStream 

    Introduction The Java.io.ObjectInputStream class deserializes primitive data and objects previously written using an ObjectOutputStream. Following are the important points about BufferedInputStream − Class declaration Following is the declaration for Java.io.ObjectInputStream class − Learn Java in-depth with real-world projects through our Java certification course. Enroll and become a certified expert to boost your career. Class constructors Sr.No. Constructor & Description 1 protected ObjectInputStream()This…

  • LineNumberReader 

    Introduction The Java.io.LineNumberReader class is a buffered character-input stream that keeps track of line numbers.A line is considered to be terminated by any one of a line feed (‘\n’), a carriage return (‘\r’), or a carriage return followed immediately by a linefeed. Class declaration Following is the declaration for Java.io.LineNumberReader class − Learn Java in-depth with real-world projects through our Java certification…

  • LineNumberInputStream 

    Introduction The Java.io.LineNumberInputStream class is an input stream filter that provides the added functionality of keeping track of the current line number. A line is a sequence of bytes ending with a carriage return character (‘\r’), a newline character (‘\n’), or a carriage return character followed immediately by a linefeed character. Class declaration Following is the declaration…