⟩ How to create console or how i can take result with the help of console?
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.