Lesson 8.2- Representing Behavior, Method Signatures handout

Setrectanglecrectangle double distance distance

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ot; 96"     9 6        9 6:9 ; 69 ;6< = 85              %&'"      %&'"   public void setLength(double length1){ this.length = length1; }        public void setAllRectangleAttributes(double length1, double width1) { this.length = lenght1; this.width = width1; }   public double getLength(){ return this.length; }                   public double computeDistance(double rate, double time) { return (rate * time); }           %&'"  $ ) "   %1     public void setRectangle(Rectangle aRectangle1)    "          *...
View Full Document

This note was uploaded on 10/14/2012 for the course ENGINEERIN 11 taught by Professor Figueroa during the Winter '11 term at University of the Philippines Diliman.

Ask a homework question - tutors are online