搜索资源列表
Java_gaohongjin_6
- 高宏静老师写的一本java入门级教程,适合零基础的学习 此为第6章(继承),方便大家根据需要下载. -Wang Jing Gao teacher to write a java entry-level tutorial for the zero-based learning This is Chapter 6 (inheritance), to facilitate downloaded as needed.
java-common-dao-example
- 公用dao接口的写法及实现,对每一个封装类要使用的时候只需要继承这个类。-Common Dao interface and implementation.
TestVehicle
- 交通工具类,继承,java语言,move、speedup等函数-Transport classes, inheritance, java language, move, speedup and other functions
proj_Clyiner
- 初学java编程 java类的学习 类的继承class Clyiner-Beginners class to learn java programming java class inheritance class Clyiner
java-rumen-02
- JAVA基础:字符串 类的方法 继承 多态 管理类文件 异常处理 枚举类型 适合新手入门-JAVA foundation: string class methods inheritance polymorphism management class files exception handling enumeration type for Getting Started
java-interface
- java接口与继承的使用 interface 接口使用方法-java interface using the interface with the inherited interface method
phonecard
- 电话卡(继承)200卡,ic卡等,教学用-Telephone card
The-decorator-pattern
- 装饰器模式是为一个类添加特定的功能,而不修改原类的代码. 为一个类扩充功能也可以通过继承的方式,在子类中实现父类中不具有的功能.-The decorator pattern
javaservlet
- 简单的服务器程序 * * 演示服务器程序如何给浏览器响应 * 演示Servlet如何给浏览器一个完整的响应页面 * 要点: * 继承HttpServlet * 重写service方法-* Simple server program server program demonstrates how to respond browser Servlet* demonstrate how to give a complete response to the brow
constructor
- 简单的小例子:父类封装了姓名年龄两个属性,子类继如何继承父类的属性和方法-Simple little example: age of the parent class encapsulates the name of two properties, how subclasses inherit the following properties and methods of the parent class
college
- 抽象出教师、学生和后勤人员的公共特性和方法,使用继承定义教师、学生和后勤人员等新类,每个类都又区别于其他类的特殊属性,构造对应的方法分别计算出教师、学生和后勤人员的人数,计算教师、学生和后勤人员的平均年龄-Abstract teachers, students and support staff of public properties and methods defined using the inheritance of teachers, students and support staf
lab05
- GUI设计(2): 掌握常用布局管理器的使用; 掌握下拉式菜单(一级、二级)的设计——创建菜单条、菜单、菜单项对象,并进行正确的装配; 熟悉一般对话框、文件对话框的创建、使用; 继承熟悉Frame、Panel、Label、Button、TextArea等组件的使用。-GUI design (2) : Master layout manager use common Master pull-down menu (level 1, level 2) design-creat
Emperiment3
- 添加Student类和Teacher类,要求两个类均继承Person类,各自特殊的属性为学号,工号。要求添加的方法包括各种构造函数,getter/setter方法、toString方法,equals方法,以及compareTo方法。其中toString方法,equals方法子类对父类方法进行覆盖;compareTo方法根据学号或工号进行比较,实现从Person中继承的抽象方法,返回-1,0,1分别代表小于、等于、大于。-Person class inheritance, special prop
123
- java小程序,可以实现类继承方面的额内容。适合初学者使用哈.我们一起加油吧!-Java applets, can realize the inheritance of the forehead of content for beginners use ha. Together we go.
Cars
- java 简单继承机制的应用 java 简单继承机制的应用-the simple ues of Inheritance in java,just by reference!
Cases_PersonMain
- 学生教师信息输入输出,带正则表达式的信息输入输出,people基类,学生教师继承基类,并且有各自的子类。对于不符合要求的输入给出提示,并重新输入-The IO of students and teacers
SortStrategy
- 排序策略: ①定义排序策略接口ISortStrategy ②定义实现ISortStrategy接口的抽象类AbstractSortStrategy ③分别定义继承抽象类AbstractSortStrategy的各个具体算法类; ④构建Sorter类调用排序策略。-Sort Strategy
Circle
- java实验代码编写一个圆类,定义圆心与半径等属性并被其他类继承-Java experimental code to write a class circle
java-two
- 理解类的定义; (2)掌握对象的声明; (3)学会使用构造函数初始化对象; (4)使用类的数据和方法。 (5)掌握静态成员与实例成员的区别; (6)学会使用类的静态成员。 (7)理解变量的作用域; (8)掌握成员变量,局部变量和块变量的区别; (9)学会使用this 关键字。 (10)理解方法重载的含义。 (11)学会使用方法重载。 (12)理解子类派生的概念; (13)学习创建子类对象; (14)掌握方法覆盖的使用。 (15)掌握多态性在
java
- 1)理解线程的概念; (2)了解线程的状态和生命周期; (3)学习继承Thread 类来创建线程; (4)使用Runnable 接口。 (5)学习Runnable 接口在Applet 程序中的使用; (6)掌握Runnable 接口实现多线程的优点; (7)加深对Applet 中的几个常用方法的理解。 (8)理解线程同步的含义; (9)掌握synchronized 同步方法与synchronized 同步语句的用法; (10)学会使用Thread Group