Java-Inheritance and Polymorph
1. An Airplane is a class used to store the following basic information about an airplane:double myWeight, the weight of the airplane in kilograms;double myLength,... 展开
其他答案
public class PassengerJet extends Airplane{private int myPassengerCount;public PassengerJet( double weight, double length, int passengerCount ){super( weight, length );myPassengerCount=passengerCount;展开
2011-02-12 01:02
来自北京市
赞(0)点赞赞(0)举报
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。


