Skip to main content

CS102: Introduction to Computer Science II

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS102: Introduction to Computer Science II /
  • Unit 7: Template Programming /
  • 7.3: Commonly-Used Classes
Back to 'Unit 7: Template Programming'
  • 7.3: Commonly-Used Classes

    • Hobart and William Smith Colleges: David Eck's "Introduction to Programming Using Java" Page

      Read section 10.2. In an class hierarchy, a base class is more generic than a class that implements it. In particular, functions or methods of a base class are more generic functions. While generality is desirable, it may be a trade-off with efficiency for certain problems. This section looks at several classes in the class hierarchy for lists and for sets, and the additional features implemented in the subclasses that make them more efficient depending on the problem to be solved.

    •  Practice: Understanding and Creating TreeSets in Java Quiz

      In this activity, you will construct a basic Java application that contains a TreeSet object. You will also add items to this Treeset.

    •  Practice: Understanding and Creating HashSets in Java Quiz

      This activity provides an exercise to enable you to create a basic java application containing a HashSet object.

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy