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 |
Is cout buffered?
How do you convert string to int in java?
How does callback work in java?
Hi can u pls tell me what is the use of marker interface. Iknow what is marker interface but what ability will the object get by implementing this.
What is a Null object?
What does I ++ mean?
different between exception and error? explaim check and uncheck exception
What is the synonym of procedure?
When should a function throw an exception?
0 Answers Thomson Reuters, Virtusa,
Which programming language is most secure?
What is string syntax?
If an application has multiple classes in it, is it okay to have a main method in more than one class?