Home / Questions / Can we pass objects to methods?
Explanatory Question

Can we pass objects to methods?

👁 3 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

✅ Yes
The reference copy is passed, not the actual object.