What’s the difference between callable and runnable?


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

Post New Answer

More Core Java Interview Questions

When you say String is immutable, what do you mean by that? Say I have String s = "Ness" s= s+"Technologies"; What will happen? If the value gets appended, then what is the meaning of immutable here?

5 Answers   Ness Technologies,


Why inputstreamreader is used in java?

0 Answers  


what is difference between colection and collections?

25 Answers   Amdocs, IBM, Infosys, Ipog Software, Polaris, Tech Mahindra,


write the hierarchy of component class?

1 Answers  


What is a nested structure?

0 Answers  






Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

0 Answers  


What is use of super keyword in java?

0 Answers  


What is deserialization and how do we do deserialization?

3 Answers   Synechron,


Describe how to implement singleton design pattern in struts.

0 Answers  


Java violates few objected oriented concepts. Can you explain in what way?

3 Answers   Ness Technologies,


what is the difference b/w design pattern and architecture

4 Answers   Covansys,


What is the difference between overriding and overloading in OOPS.

0 Answers   Axtria, ITC Indian Tobacco Company,


Categories