What is the purpose of encapsulation?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of encapsulation?
Distinguish method overloading and overriding
What we have to do, when we don't want to implement all methods of an interface?
What are the uses of synchronized keyword?
What is anonymous inner class?
Can we have try block without catch block?
What is string buffer?
write a code, we have two thread, one is printing even no and other print the odd no.
Why we need Finally with try? pls expain with ur example..
Can we define a package statement after the import statement in java?
Explain the key functions of data binding?
0 Answers Akamai Technologies, Aspire, Impetus, Infogain, Tavant Technologies, Virtusa,
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"); } }