What is java virtual machine? Explain
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"); } }
What is the difference between an if statement and a switch statement?
Why java is considered as platform independent?
What is the use of inner class?
Tell me about your ability to work under pressure
What is the difference between replace and replace all?
what are the new features available in java 1.5 version?
3 Answers Accenture, Features, Motorola,
Program to print 1 1 2 1 2 3 1 2 3 4 like that
Which class is the superclass for every class in java programming?
can we write program without class
how to java plateform independent?
How do you use final keywords and final variables in Java?