Which among the following is true?
(a) We can use direct assignment for any object
(b) We can use direct assignment only for different class objects
(c) We must not use direct assignment
(d) We can use direct assignment to same class objects
This question was posed to me during an internship interview.
My doubt stems from Assigning Objects in portion Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming