What is finally in exception handling?

Answer Posted / ravikiran(aptech mumbai)

finally is used to conserve the resources after the
exception is raised

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is the finalize() called?

701


Is class is a data type?

574


What do you understand by casting in java language?

580


Can we write class inside a class in java?

553


What is data string?

499






What is java dot?

498


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.

1590


What is the maximum size of array in java?

518


Does A Class Inherit The Constructors Of Its Superclass?

538


How define set in java?

514


What is stream api in java8?

540


What is the hashcode () and equals () used for?

537


Explain the difference between string, stringbuffer and stringbuilder in java?

565


Similarity and difference between static block and static method ?

538


Can you override static methods?

504