Collections of Objects

  • Jacquie Barker
  • Grant Palmer

Abstract

You learned about the process of creating objects based on class definitions, a process known as instantiation, in Chapter 3. When we’re only creating a few objects, we can afford to declare individualized reference variables for these objects: Students s1, s2, s3, perhaps, or Professors profA, profB, profC. But, at other times, individualized reference variables are impractical.

Keywords

Encapsulation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jacquie Barker and Grant Palmer 2004

Authors and Affiliations

  • Jacquie Barker
  • Grant Palmer

There are no affiliations available

Personalised recommendations