Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What part of memory - Stack or Heap - is cleaned in the garbage collection process?



What part of memory - Stack or Heap - is cleaned in the garbage collection process?..

Answer / nashiinformaticssolutions

On Heap memory, garbage collection is employed to release the memory used by objects with no references. Every object created in the Heap space has access to the entire application and may be referred to from anywhere.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain different ways of passing arguments to sub-routine?

1 Answers  


How many times garbage collector will invoke an object?s finalize() method?

4 Answers  


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.

0 Answers  


what are class,constructor and primitive data types?

2 Answers   IBM,


What are the steps involved to create a bean?

0 Answers  


What is return in java?

0 Answers  


How hashmap works in java?

0 Answers  


What is the difference between stream and buffer?

0 Answers  


Give me an example of array and linked list? Where they can be used?

0 Answers   Ericsson,


What do you understand by overloading and overriding in java?

0 Answers  


where to use join method and explain with real time senario?and programatical explenation also..

1 Answers   TCS,


is JVM platform dependent or independent..?

11 Answers   IBM, Tech Mahindra,


Categories