Js Take Input From Stdin In Java