Answer Posted / srikanth reddy
The purpose of finalization is to give an unreachable
object the opportunity to perform any cleanup processing
before the object is garbage collected.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can an interface be defined inside a class?
What is illegal identifier in java?
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 is generic type?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Which api is provided by java for operations on set of objects?
What does java ide mean?
What are the advantages of autoboxing?
Explain what access modifiers can be used for variables?
Can we override constructor in java?
What is array in java?
What is final?
What is string example?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Which containers use a flowlayout as their default layout in java programming?