Using InputStream in Java

InputStream is the abstract super class for all input streams. It declares the three basic methods needed to read bytes of data from a stream. It also has methods for closing streams,checking how many bytes of data are available to be read,skipping over input,marking a position in a stream and resetting back . . . →Read More:Using InputStream in Java

Share

Using OutputStream in Java

OutputStream class declares basic methods which you need to write bytes of data onto a stream.

. . . →Read More:Using OutputStream in Java

Share

Using Scanner for reading data from system console in Java

Java has one more way for reading data from system console. Scanner was introduced in Java 1.5.

. . . →Read More:Using Scanner for reading data from system console in Java

Share

Reading data from console with Console class in Java

Java 6 allows to read data from system console with Console class. There are several ways to do it,but I personally like this one.

. . . →Read More:Reading data from console with Console class in Java

Share

Redirecting System.out,System.in,System.err in Java

Sometimes need to redirect System.out,System.in,System.err. It is very easy. I am going to show here how you can do it.

. . . →Read More:Redirecting System.out,System.in,System.err in Java

Share

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.