Answer Posted / harika.thota001@gmail.com
Before an object is garbage collected, the runtime system calls its finalize() method. The intent is for finalize() to release system resources such as open files or open sockets before getting collected.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the two categories of data types in the java programming language?
Is null in java?
What is a Hash Table? What are the advantages of using a hash table?
You're given a Boolean 2D matrix, can you find the number of islands?
Explain importance of finally block in java?
Does google use 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.
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What is the purpose of the system class in java?
What is a boolean flag in java?
What are the string methods in java?
Is java a super set of javascript?
What are the major advantages of internal iteration over external iteration?
What is java util?
What are user defined exceptions?