Skip to content

5.4 Objects and references #46

Description

@surfmuggle
  • A constructor call returns a reference to an object. A reference is information about the location of object data.
  • Assigning a reference type variable copies the reference Person anna = new Person() and Person betti = anna.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions