CS 1114 Chapter Notes - Chapter 8: Java Class Library, Code Segment, Class Variable

80 views5 pages

Document Summary

Recall ~ the class arraylist from the java class libraries allows us to store an arbitrary number of objects. Without this, accomplishing such a task would be difficult to achieve. The items in the library are often arranged in relationships of common characteristics. Abstraction assists with dealing with the large amount of data. Each class has many methods with many parameter and return variations. Documentation accompanies each class which enables others to use the class without code tracing: example: arraylist, string, etc. ***note: source code that implements a class is not shown for interfaces; however, the behind the scenes" source code is called the implementation of the class. Interfaces describe the visible part of a class. Implementation describes the source code that defines a class. The interface of a method consists of the header of the method and a comment.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents