what are depricated methods ?
Answers were Sorted based on User's Feedback
Answer / lavanya
methods that r not in use now though they were defined
initially . this is done in order to provide a secure and
robust language
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / d. kalaivani natarajan
You can not avail deprecated methods in the furture
versions.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vijay
methods which r not safe to use are called deprecated
methods
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kalpit
Threads suspend,resume and stop are eg of deprecated methods
and are not safe to use.
Is This Answer Correct ? | 0 Yes | 0 No |
how to make a un-checked exception as a checked exception one.
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.
Difference between stack and queue?
What is data and its types?
In java, what is the difference between method overloading and method overriding?
What is the difference between static class and normal class?
Is java map thread safe?
What is method in java with example?
What is the internal implementation of set in java?
How much is a java license?
Which variable is the independent variable?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?