Personal tools
You are here: Home Classes Fall 2004 - Spring 2005 CS 150 2.11.05 Feb. 11
Document Actions

Feb. 11

by admin last modified 2005-05-11 13:37

Examples from Feb. 11

Fraction.java and Nums.java: Together these two define a program. Fraction is a class that implements simple fraction routines; Nums is a class with a main() method that constructs and uses fractions.

Fraction1.java: This is a more elaborate implementation of fractions. It can be used with class Nums (above) if you change the type Fraction in Nums to Fraction1.

 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: