Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String args[]) throws IOException{
- Runtime.getRuntime().exec("cmd.exe /c \"start\"");
- // That one does not work
- Scanner sc = new Scanner(System.in);
- // That one does not work either
- System.out.println("-----------=<KALKULATOR NWD>=-----------");
- String test = sc.next();
- System.out.println(test + ", test");
- sc.close();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement