搜索资源列表
java
- 捕获异常和实现自己的异常类 通过继承Exception类来实现自己的异常类。并使用try-catch来捕获这个异常-An exception and realize their exception classes Through inheritance Exception class to the realization of his Exception classes. And use try to capture the exception-catch
java-object-oriented-programming
- 这是“java面向对象程序设计”的实验报告,其实验目的是:掌握java面向对象程序设计中类,继承,包和接口的概念与应用,能过熟练应用方法,类,成员变量等元素-java object-oriented programming
jhotdraw-7.0.6.nested
- JHotDraw画图工具,强大的绘制规则图工具,继承自swing的桌面画图插件-JHotDraw drawing tools, a powerful draw rules Tool inherit the desktop drawing plug-ins since the swing
j-hibernate-source
- Hibernate 是一个对象关系映射和持久性框架,它提供了许多高级特性,从内省到多态和继承映射。但是,把类的层次结构映射到关系数据库模型,可能会比较困难。本例子演示在日常的编程之中您可以用它们把复杂的对象模型容易地映射到关系数据库模型。-Hibernate is an object-relational mapping and persistence framework that offers many advanced features, from introspection to poly
package-and-inheritance
- 介绍Java的封装继承和多态和java的一些基本特性-Introduced a package of Java inheritance and peptides
inherit
- java中有关继承的浅显认识,应用小例子-java inherited plain understanding, apply small example
Task4
- 类功能的实现,详细的说明类的继承,父类与子类间的调用关系-class application
ShapeExp1
- 个人原创代码:矩形、圆形、正方形等形状的操作。编写Java Application程序,定义抽象类Shape,抽象方法为showArea(),求出面积并显示,定义矩形类Rectangle,正方形类Square,圆类 Circle,根据各自的属性,用showArea方法求出各自的面积,在main方法中构造3个对象,调用showArea方法。 定义接口DiagArea,其中包含方法double getDiagonal()求对角线长, double getArea()求面积,定义一个矩形类,实现此
Element
- Java抽象类的应用,继承抽象类,可实现图形绘制-Application of Java Abstract class
carshopping
- 实例化购物车及接口的实现和继承的实现,还有排序的算法- Instantiated to Cart
javaCode
- 自定义分页标签,常用工具类,分页继承类,新手必备-pageTagutilsClass,they are very goods
[Java.SE.Lesson.13_code
- 适合于初学者的源代码,能很好的帮助初学者了解继承和封装的知识!-Suitable for beginners of source code, and can be a very good help for the beginner to inherit and encapsulates the knowledge!
java
- 上课老师给我们布置的相关练习,以及怎么使用类,对象、对象的继承和封装-School teacher gave us a layout of the exercises, as well as how to use classes, objects, objects, inheritance and encapsulation
Javaprojectforjob
- 用于对企业的员工工资进行计算,利用JAVA的继承和多态-Calculated for the enterprise, wages and salaries,The use of Java inheritance and polymorphism
java--jicheng
- 详细介绍了java编程中类的继承实现及相关继承规则。-Described in detail the realization of class inheritance in java programming and inheritance rules.
learn_override
- java 编程 类继承特性和类属性函数重载特性的学习-java programming class inherits the characteristics and the class attribute function overloading features of learning
MultiThread
- 程序中创建了主程序线程、thread1和thread2三个线程,thread1是ThreadUseExtends类的对象,通过继承Thread实现线程,thread2是ThreadUseRunnable类的对象,通过实现Runnable接口实现线程,主程序主线程睡眠7秒,thread1线程睡眠10秒,thread2睡眠1秒,程序执行过程中首先执行主线程,由主线程启动thread1,thread1启动后,需要睡眠10秒,接着主线程睡眠7秒,那么势必主线程醒来时thread1还处于睡眠状态,所以th
Java-Swing-with-Samples
- java Swing 介绍,英文版本,主要讲述了java Swing 组件的继承关系和使用-Java Swing
daima
- 关于银行的系统操作的基本描述,运用类的继承与类的组合-Basic descr iption on the operations of the bank s system,The use of a combination of class inheritance and class
Employee
- 本程序列举了三个类,分别为person,employee,student。后两个类都继承了person类。 因为他们呢都具有了person类的共同属性。然后通过方法的重写等操作简单的描述了java中的继承关系,和上转型的运用。-This procedure gives three categories, namely the person, employee, student. The latter two classes inherit the person class. Becaus