home / developersection / tag
If we want to read data from multiple stream in java input/output operation then SequenceInputStream class is very useful for that.
If we don’t know how many arguments we will have to pass in the method .Varargs is the better approach.
In Java, Their are several ways to taken an input from the keyboard.such like InputStreamReader Class,Scanner class,Console class etc.
Serialization is a process of converting an object into a stream.
The Java Console class is often using to get input from console. It provides methods to read text and password.
The StreamTokenizer class allows you to break an input stream into tokens such as words.
There are two principal means of generating random (really pseudo-random) numbers: one is using the Random class and the other is using the Math.random method.
Getter and setter methods are used in Java to retrieve and manipulate private variables in a different class.
The whole idea behind encapsulation is to hide the implementation details from users. If a data member is private it means it can only be accessed within the same class. No outside class can access private data member (variable) of other class.
Regular Expression used to define constraint on strings such as password and email validation.
By Default, the Object class is the parent class of all the classes in java or we say, it is the topmost class of java.
A BLOB is a build-in data type supported by the database implementing SQL 99 alias SQL3 Standards. A BLOB is used to store large binary data ,such as bit images,audios,and multimedia clips as the column value in a database table.