What must a class do to implement an interface in java programming?
No Answer is Posted For this Question
Be the First to Post Answer
List types of storage classes in java?
Is space a character in java?
what are the differences between final,finally,finalize methods?
What is a function argument in java?
What do u mean by method and also contructer in java ?
Why string is immutable with example?
How many types of threads are there in java?
what is overloading and overriding with example?
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 an infinite loop in java? Explain with an example.
My interview asked what is dynamic variable in java and where we use them.
What is the meaning of 3 dots in java?