Explain about interrupt() method of thread class ?
No Answer is Posted For this Question
Be the First to Post Answer
Why does java doesnt suuport unsigned values?
What are the different types of data structures in java?
How does class forname work in java?
What is meant by Static query and Dynamic query?
what is prepare statement? what is calabedtarement?
How to find the length and capacity of a string buffer ?
What is the default value of an object reference declared as an instance variable?
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.
Why java uses the concept of the string literal?
What is the difference in between cpp and java? Can u explain in detail?
What is a string token?
Can a constructor be protected?