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

What are the disadvantages of using inner classes?

0 Answers  


What is the difference between Java and C++?

0 Answers   Integreon, TCS, ZS Associates,


what is session in java?

0 Answers   Seventhsense Technologies,


When is the garbage collection used in Java?

0 Answers   BirlaSoft,


What is array class in java?

0 Answers  


Explain exception chaining in java?

0 Answers   Cyient,


Whats the difference between notify() and notifyall()?

0 Answers  


Does java support function overloading, pointers, structures, unions or linked lists?

0 Answers  


What is the finalize method do?

0 Answers  


Can bool be null?

0 Answers  


what models are available for event handling?

1 Answers  


What is meant by class and object in java?

0 Answers  


Categories