Answer Posted / ashok
yes. Exception can be rethrown by using throw statement.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
How does varargs work in java?
Can finally block be used without a catch?
What is string and its types?
Is it possible to use string in the switch case?
Who developed java?
Which class is the superclass for every class in java programming?
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.
What are the steps in the jdbc connection?
What is java abstraction with example?
Can a class be private in java?
What is functional interface in javatpoint?
When is the finalize() called? What is the purpose of finalization?
What is finalize()?
How do I run java on windows?
What is the purpose of encapsulation?