extending thread class or implementing runnable interface. Which is better? : Java thread


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

Post New Answer

More Core Java Interview Questions

what methods would you overwrite in java.lang.object class?

0 Answers  


Can a static class have a constructor?

0 Answers  


Do you know thread pools?

0 Answers   BMC,


What is function declaration?

0 Answers  


What is JIT ?

4 Answers   Satyam,






Name two subclasses of the TextComponent class?

2 Answers  


I 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

0 Answers  


How to do encapsulation in java?

0 Answers  


Why synchronization is important in java?

0 Answers  


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


When does Exception occurs?

3 Answers  


What is difference between public static and void?

0 Answers  


Categories