Computer Science, asked by shariq007, 1 year ago

What is the use of temparory instance of a class

Answers

Answered by subhajeetpramanik
1
Similar to Temporary Classes, you may wish to use an instance temporarily to invoke a method or chain of methods. Temporary instances are instances that are instantiated in order to invoke a method or chain of methods, then are immediately discarded.
Similar questions