If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
2 6641public 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"); } }
2461Which of the following can be referenced by a variable? A. The instance variables of a class only B. The methods of a class only C. The instance variables and methods of a class
2 16818I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
2159A abstract class extending an abstract class.Super class has both abstract and non-abstract methods.How can we implement abstract and non-abstract mehtods? Explain with snippet
3 6290
What are the differences between abstract class and interface?
Explain yield() method in thread class ?
What are the differences between checked exception and unchecked exception?
How to make a non daemon thread as daemon?
What is ascii code?
How do you check if a string is lexicographically in java?
Tell me a few examples of final classes defined in Java API?
What does n mean in java?
What is sorting in java?
How do you convert string to int in java?
What is the difference between the boolean & operator and the && operator in java programming?
Is java a prime method?
Is java a super set of javascript?
Can a lock be acquired on a class in java programming?
Can you give few examples of final classes defined in java api?