Can we write any code after throw statement?
No Answer is Posted For this Question
Be the First to Post Answer
Describe what happens when an object is created in java ?
How do you reverse a string in java?
can any one tell me what is advantage of encapsulation
Explain about vector, dictionary,hash table, property classes?
What is meant by final class?
Give reasons supporting that string is immutable.
How to sort an array from smallest to largest java?
Why 1 is not a prime number?
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What is predicate in java?
Explain the difference between jdk, jre, and jvm?
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"); } }