Core Java Archive
Character Streams Prior to JDK 1.1, the input and output classes (mostly found in the java.io package) supported only 8-bit “byte” streams. In JDK 1.1 the concept of 16-bit Unicode “character” streams was introduced. While …
Buffered Streams : Buffer is a temporary storage area while processing the information. In some of the applications we use Buffers to process the data instead of fetching information from the secondary memory every time. …
Object streams (Serialization) Writing(Storing) Object information in a physical storage area(File, Database ..) Serialization is the concept of converting Object state into Persistent(permanent) state. Generally in Java application, objects will be created in Heap area …
ByteArrayInputStream It is an implementation of an input stream that uses a byte array as the source. This class has two constructors, each of which requires a byte array to provide the data source: …
DataInputStream Is used to read java primitive data types from an underlying input stream. It is inherited from FilterInputStream class. It has only one constructor, and it takes byte stream object as an argument. String …
PrintStream class : The PrintStream class is obtained from the FilterOutputstream class that implements a number of methods for displaying textual representations of Java primitive data types. Unlike other output streams, a PrintStream never throws an IOException and the …
java.io.File: It is belongs to java.io package. It is used to perform all File and Directory operations in Java app. public class File extends Object implements Serializable, Comparable<File> Checking the specified File is present or …
Collections: Programming languages are used to develop applications. Applications are used to store and process the information. If we structure the data while storing, we can access more effectively. To structure the data number of …
ArrayList : ArrayList is the implementation of List interface. ArrayList is available in java.util package. ArrayList class in java api since jdk 1.2 ArrayList is an ordered collection and allows duplicates. The Initial capacity of …
Generics Introduction: Generics are parameterized types, where class, interface methods are parameterized with types. Same like the more parameters used in method declarations, type parameters provide a way for you to re-use the same code with …