What Is Resource Leak?
Answers were Sorted based on User's Feedback
Garbage Collection (GC) in Java will relieve you from the
mundane duties of allocating, tracking, and freeing the
heap memory. Indeed, the promise has been delivered, so it
is reasonable -- and to quite an extent correct -- for you
to conclude that there will be no memory leaks in your Java
program. However, the catch is that GC can take care of
only typical heap management problems.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kalva raju
Garbage collector is java program,it is run in our regular
java program and it is collected un-reffernced memory in our
java program
| Is This Answer Correct ? | 2 Yes | 0 No |
What is assembly language?
What is the differenc between Enemuration interface and iterator interface according to accessing?
Difference between nested and inner classes ?
Can a source file contain more than one class declaration?
What is integer parseint?
Define class?
Is vector thread safe in java?
What is scope of a variable?
How many bytes is double?
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 wrapper class example?
What is general methodology?