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...


In the below Java Program, how many objects are eligible for garbage collection?



In the below Java Program, how many objects are eligible for garbage collection?..

Answer / nashiinformaticssolutions

In general, three items are acceptable for waste pickup; however, I am not familiar with the program.

When the program starts, the first object is generated, and when it ends, it is no longer required.

When the user enters their name, the second object is generated; it is no longer needed at the end of the application.

When the user enters their address, the third object is generated; it is no longer required at the end of the program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

To set the position and size of a component, which methods are used?

3 Answers  


How to overcome the exception object reference not set to an instance of object?

0 Answers   Wipro,


Which sorting algorithm is best in java?

0 Answers  


How do you control extraneous variables?

0 Answers  


What is the difference between serializable and externalizable interface?

0 Answers  


is it possible to instantiate the math class?

0 Answers  


What is e java?

0 Answers  


Explain the available thread states in a high-level?

0 Answers  


What are the benefits of operations in java?

0 Answers  


Why hashmap is used in java?

0 Answers  


Where are the card layouts used?

0 Answers  


What is a percentage sign called?

0 Answers  


Categories