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 does substring mean?

0 Answers  


What class allows you to read objects directly from a stream?

0 Answers  


Can we have multiple classes in a single file?

0 Answers  


Does java list allow null?

0 Answers  


Can a static member function access member variable of an object?

0 Answers   Virtusa,


why abstract class will have a constructor?

4 Answers  


Which collection allows duplicate values in java?

0 Answers  


What are parsing rules?

0 Answers  


what is the difference between object and class

10 Answers   IBM,


How many ways can we create the string object?

0 Answers  


How many ways can you break a singleton class in java?

0 Answers  


How strings are created in java?

0 Answers  


Categories