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.
Unable to display preview. Download preview PDF.