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 is the basic concept of java?

0 Answers  


Where are the local variables stored?

0 Answers  


What is the purpose of the main method?

0 Answers  


What is an example of declaration?

0 Answers  


Define inheritance with reference to java.

0 Answers  


What is runtime polymorphism or dynamic method dispatch?

0 Answers  


How can we create a object of a class without using new operator.

1 Answers   Infosys, Nokia,


What are the two major components of JDBC?

5 Answers   CMC, Mind Tree,


List out benefits of object oriented programming language?

0 Answers  


What is constructor chaining in java?

0 Answers  


What is the function of character?

0 Answers  


How can you set the applet size?

0 Answers  


Categories