why not override thread to make a runnable? : Java thread


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

Post New Answer

More Core Java Interview Questions

Why for each loop is used?

0 Answers  


Tell us something about different types of casting?

0 Answers  


what do you mean by stream pipelining in java 8? Explain

0 Answers  


What are the 8 data types in java?

0 Answers  


Is java good for beginners?

0 Answers  






What is a type parameter in java?

0 Answers  


Explain the pointers in Java?

0 Answers   Aspire,


Why we go for collections in java?

0 Answers  


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  


What is the difference between array and array list in java?

0 Answers  


What is overloading and overriding in java?

0 Answers  


Should you use singleton pattern?

0 Answers  


Categories