What are static blocks in java ?
No Answer is Posted For this Question
Be the First to Post Answer
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"); } }
Explain java coding standards for constants?
What are scriptlets?
Can an interface extands a class?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
why HashTable not allow null key and value
What does the string method compareto () do?
Can I extend singleton class in java?
Can we call the run() method instead of start()?
How does a for loop work?
What is int lol?
What is the size of arraylist in java?