Lab02f - run.calculateSlope(); run.print();...

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

View Full Document Right Arrow Icon
//© A+ Computer Science - www.apluscompsci.com //Name - //Date - //Lab - public class Lab02f { public static void main( String[] args ) { Line run = new Line(); run.setCoordinates(1,9,14,2); run.calculateSlope(); run.print(); run.setCoordinates(1,7,18,3);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: run.calculateSlope(); run.print(); run.setCoordinates(6,4,2,2); run.calculateSlope(); run.print(); run.setCoordinates(4,4,5,3); run.calculateSlope(); run.print(); run.setCoordinates(1,1,2,9); run.calculateSlope(); run.print(); } }...
View Full Document

Ask a homework question - tutors are online