Can we use string in switch case in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is a deadlock ?
What is the purpose of the finally clause?
Where are local variables stored?
How do I enable java in safari?
What are the different collection views provided by maps?
Can we store variables in local blocks?
How can we find the sum of two linked lists using stack in java?
What is the difference between static and non-static variables?
What is difference between final and finally in java?
public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }
Can you override a private or static method in java?
what is the difference between Java Command Line and C command Line?