The data transfer occurs in the format of streams in java. we can transfer the data in and out.
The
constructor of System class is defined as private; we can not create
object of system class. In System class there are 3 static variables
1-in 2-out 3-error