Online Programming Server

Login

Login with facebook [?]

Facebook

Tutorial 50: CSC1130S - Lecture 5a: Object Reference

You are here: Tutorials >> Basic >> Java >> Introduction to Computing Using Java >> CSC1130S - Lecture 5a: Object Reference

Tutorial ID50
TitleCSC1130S - Lecture 5a: Object Reference

Object Reference

  • Like a call number in the library.
    • A call number refers to a real/physical book object.
  • No matter how many times you copy a call number, it is still referring to the same object.
    • Holding QA123.45.c1 affects the user who borrowed the same book.
  • Unless you create a new one, e.g. buying a new book, you won’t get a new call number.
    • QA123.45.c1 and QA123.45.c2

Post Your Comment

Title
Message