100%(6)6 out of 6 people found this document helpful
This preview shows page 1 - 2 out of 3 pages.
CST8132 Lab 3: Bank System 1 Due Date Feb 8, 2017 Purpose Think about Java Objects and how they communicate. Work with multiple classes and their constructors. Work with examples of the has-arelationship, Association, Aggregation, Compositionbetween objects. Description For this exercise, we will be considering the implementation of a simple banking system. Our goal is to become familiar and comfortable with the notion that Object Oriented Programming is about Objects communicating and interacting. Recall that Java Objects in general have fields (also called attributes, instance variables, or properties) which constitute their state, and methods which constitute their behaviors. These Objects are instances of Java Classes, which have fields (and constructors) to specify the Object’s state, and methods to specify the Object’s behaviors. When a property of one object is a reference to yet another object, we say the first object is in a has-arelationship with the second, and there is an Associationbetween them.