Computer Science, asked by nabila463253, 1 month ago

Write a program that take and return object​

Answers

Answered by mukeshsharma4365
0

Answer:

The objects can be returned either by value or reference. There is no mandatory condition for the way it should be used. The way of returning object can be decided based on the requirement. Explanation: A temporary object is created when an object is returned by value

Explanation:

Mark me as brainliest

Similar questions