a thread is runnable, how does that work? : Java thread
What is difference between path and classpath in java?
What are the different types of multitasking?
What is the difference between throw and throws in java?
What is string length in java?
Can we use different return types for methods when overridden?
What are java methods?
What is the += operator called?
What is an enumeration class?
which swing component is similar to rich text box in .net/vb
What is java and their uses?
Can we override data members 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"); } }