Table of ContentsAbstract Classes –pure computer science meets pure mathematics. Classes and Objects: A class has data and methods. Inheritance hierarchies usually have a tree or directed graph structure Overriding methods: Reimplement a method of the parent class in the child class. An advantage of Overriding methods:Generic algorithms Abstract methods – abstract classes. Abstract methods: Declare a method in the parent class – implement in the child class. An Experiment. Implementing abstract mathematics in Java from scratch. |
Author: Marc Conrad
Email: marc.conrad@luton.ac.uk Home Page: http://ring.perisic.com Other information: |