Currently you cannot use a Scanner class (from the java.util library) for example to ask for an Input (whatever the input type will be: String, int, double....) because the Terminal will show an error ...
import java.util.Scanner; public class Sample { public static void main (String [] args){ Scanner myObj = new Scanner (System.in); System.out.println(Hello.Do you ...
import java.util.Scanner; public class scanner_java { public static void main(String[] args) { Scanner stdname = new Scanner(System.in); System.out.println("Enter ...
That's saying that the java.util.Scanner constructor is marked as being able to throw the exception java.io.FileNotFoundException - you either need to wrap that in a try/catch or mark your function as ...