import java.util.Scanner; public class Main{ public static void main(String[] args){ Double a = in.nextDouble(); } }
Standard input is empty
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); Double a = in.nextDouble(); System.out.println("hello"+a); } }