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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How much ram can a 64 bit processor theoretically?

904


What is jit compiler in java?

1111


What does null mean in java?

1075


What do you know about the garbage collector in java?

1089


how to create multithreaded program? : Java thread

957


What are the four versions of java?

1017


How big is a 32 bit integer?

1045


what is the messsage u r going to get from an objectoriented programing?

2104


What are inbuilt functions in java?

1090


What advantage do java's layout managers provide over traditional windowing systems?

958


What's a method in programming?

1082


Explain the difference between jvm and jre?

1040


What is the use of object and class classes?

1045


What is comparator in java?

1004


How do you check if two given string are anagrams?

968