What are static blocks in java ?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

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"); } }

0 Answers  


Explain java coding standards for constants?

0 Answers  


What are scriptlets?

0 Answers  


Can an interface extands a class?

5 Answers  


I want to re-reach and use an object once it has been garbage collected. How it's possible?

0 Answers  






why HashTable not allow null key and value

2 Answers   Crimson Logic,


What does the string method compareto () do?

0 Answers  


Can I extend singleton class in java?

0 Answers  


Can we call the run() method instead of start()?

0 Answers  


How does a for loop work?

0 Answers  


What is int lol?

0 Answers  


What is the size of arraylist in java?

0 Answers  


Categories