What is Java reference?

A reference is an address that indicates where an object’s variables and methods are stored . You aren’t actually using objects when you assign an object to a variable or pass an object to a method as an argument. You aren’t even using copies of the objects. Instead, you’re using references to those objects.

Sizin İçin Seçtik  What are the 5 main data types?

Leave a Reply

Your email address will not be published. Required fields are marked *