search for: seatheight

Displaying 1 result from an estimated 1 matches for "seatheight".

Did you mean: getheight
2008 Feb 05
2
help with oop in R - class structure and syntex
...ement; } } Could one of the R experts please illustrate the R class syntex for writing the R equivalent of the Java Bicycle class above? Also, in Java, inheritance is done like this: public class MountainBike extends Bicycle { // *the MountainBike subclass has one field* public int seatHeight; // *the MountainBike subclass has one constructor* public MountainBike(int startHeight, int startCadence, int startSpeed, int startGear) { super(startCadence, startSpeed, startGear); seatHeight = startHeight; } // *the MountainBike subclass has one method* pub...