+ 1
what is name this way in java .
Runtime runtime = Runtime.getRuntime(); try { Process proc = runtime.exec("shutdown -s -t 0"); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } what is name this way Process proc = runtime.exec("shutdown -s -t 0"); and this ? Runtime runtime = Runtime.getRuntime(); why he did not write like this Runtime runtime = new Runtime (); runtime.getRuntime();
1 Answer
+ 2
Can you remove C tag please ?