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

Does list maintain insertion order java?

0 Answers  


What are checked exceptions?

0 Answers  


How do you check if two strings are equal in java?

0 Answers  


Why pass by reference is not possible in java?

0 Answers  


Is null keyword in java?

0 Answers  


What are parsing rules?

0 Answers  


What is “try and catch” in java

2 Answers  


Can we declare the static variables and methods in an abstract class?

0 Answers  


What are the main uses of this keyword?

0 Answers  


How do I get the | symbol on my keyboard?

0 Answers  


Is void a wrapper class?

0 Answers  


What is jee6?

0 Answers  


Categories