What is valid keyword in java?
No Answer is Posted For this Question
Be the First to Post Answer
What is %02d?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What are blocks?.
How to call a Stored Procedure from JDBC?
What is final variable?
What is "finally" keyword?
Difference between a Canvas and a Scroll Pane?.
What are the advantages of the model over the event- inheritance model?
Can inner class be public in java?
Why we cannot override static method?
why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7.inheritance)
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"); } }