搜索资源列表
program-4
- 关于java多态的程序,建立一个虚的父类,有多个子类继承它。从而可以利用java的多态性对同名函数实现不同的功能-Polymorphism on the java program to create a virtual parent class, a number of sub-class inherits it. Which can use java function polymorphism of the same name, different functions
Advcomplex
- 定义一个高级复数类(AdvComplex),使他能继承一个复数类,该复数类的方法是:构造方法、得到实部、得到虚部、设置实部、设置虚部、复数的加法,减法,乘法,最后,创建对象进行运算。并覆盖和重载其相关的方法,并进行运算。-The definition of a senior class complex (AdvComplex), so that he could inherit a plural, the plural class methods are: construction method
Triangle
- Java虚基类的应用 三角形类及椭圆类继承点线类,点线类继承图形类,实现图形面积的计算-Application triangle and oval-class class class inherits dotted line Java virtual base classes, class inheritance dotted line graphics class, to achieve the graphic area calculation