How to create console or how i can take result with the help of console?

Submitted by: Administrator
we can create console by using system.in class.

and also readline().

for example

BufferedInputStream br=new BuffereInputStream(new InputstreamReader(System.in));

br.readLine();//reading the values from console.
Submitted by: Administrator

Read Online Java Classes Job Interview Questions And Answers