搜索资源列表
java-jiekou
- java中关于接口的实现,即implements的实现的小程序,里面既有继承又有接口实现。-Java on the realization of the interface, that implements the small program, which has both inheritance and interface.
Cinema
- java基础小项目·电影院(要求): 能够分析系统功能并合理提取对象和类 使用属性和方法构建类 使用继承、多态实现良好复用和扩展性 使用泛型集合 使用枚举 读取XML文件 使用序列化和反序列化保存和恢复信息 -Java small project · cinema (required): Ability to analyze system functions and extract objects and classes reasonably Use pr
Room
- 创建Room、classroom、office三个类,classroom、office继承Room。Room中包含 address,classroom中包含seatno,office中包含telephone。对教室的座位进行排序。含实验报告-Create Room, classroom, office three classes, classroom, office inheritance Room. Room contains address, classroom contains seatn
asszgnstrategyFTP
- 通过宠物和具体的猫狗之类的东西,了解类的继承,-By pet and specific things like cats and dogs, understand class inheritance,
Basic-implementation-of-inheritance
- JAVA语言实现继承的基本编程,一共有7个JAVA文件。-Basic implementation of inheritance
multithread_codes_java_eclipse
- 这是好几个java多线程的学习程序,主要测试多线程的同步,join,以及实现多线程的两种方法(继承Thread类,实现runnable接口),代码完全正确,但是仅仅适用于多线程的初学者,用于学习,不用于具体工程-This is a few java multi-threaded learning procedures, the main test multi-threaded synchronization, join, and the realization of multi-threaded
sheji2
- ①在观察者模式中,会改变的是主题的状态,以及观察者的数目和类型; ②主题与观察者都使用接口,观察者利用主题接口向主题注册,而主题利用 观察者接口通知观察者,具有松耦合特点; ③该模式利用组合将许多观察者组合进主题中,对象之间的关系不是通过 继承产生的,而是在运行时利用组合的方式而产生的。(In the observer pattern, the state of the subject changes, and the number and type of observer; Both
manager
- 1 声明Student类,该类实现Serializable接口以表明该类可以进行序列化。该类有姓名、学号(long),math、os、java用来存放对应的成绩,在构造方法中进行姓名、学号、课程成绩的赋值。Override由Object继承来的toString方法以便以友好格式显示自己的属性,格式为:张三 12 os:90 java:90 math: 90 2 建立一个类,利用数据库来存储多个Student,写完一个方法在main中写一段测试代码,运行以保证目前所做工作的正确性。有以下方法:增
Zuozhan
- 应用面向对象中多肽、继承、封装的知识,实现的编程。(Apply object oriented knowledge in Java programs.)
201502141811
- 基础的controller类,很多类都可以进行继承(The underlying controller class)
WKRUXQQ
- 通过宠物和具体的猫狗之类的东西,了解类的继承,()
Work_1
- 创建宠物对象为父类,后创建详细宠物子类,利用继承实现资源共享,用多态实现为宠物喂食。(Create a pet object of the parent class, after creating detailed pet subclasses, realize the sharing of resources by inheritance, with polymorphism for pets.)
动物园
- 用JAVA继承编写动物类和动物园类 能够用数组动态建立不同的动物并随机发出不同的声音(Using JAVA to write animal classes and zoo classes, you can use arrays to dynamically build different animals and randomly emit different sounds)
ServletGetInitParameterDemo
- getInitParameter方法来自于GenericServlet,一般创建Servlet都是继承自HttpServlet,而HttpServlet是GenericServlet的子类,由此通常我们的Servlet都是可以调用该方法去获取web.xml配置文件中的配置信息(The getInitParameter method comes from GenericServlet. Generally, Servlet is inherited from HttpServlet, while
Login
- java界面设计,登陆界面设计,实现输入账号以及密码进行登录的窗口,,以及基本的继承父类程序(The java interface design, the landing interface design, the entry account and the password for the login window)
workjava
- 设计一个处理复数运算的类,该类中至少有两个成员方法: 复数加法和复数减法运算。 在上述类中添加两个静态方法:求一个复数的模和求一个复 数的复角。 设计一个子类,该子类继承了上述的类,并且至少拥有自己 的两个方法:复数乘法和复数除法。 再设计一个类,包含main方法,对上面的类进行应用与测试。 该作业要求编程并调试通过。对你设计的类要有详细的文字 说明(类所封装的内容,属性、方法的功能与含义等)(The design of a complex opera
复数类和线段类
- 1.设计一个处理复数运算的类,该类中至少有两个成员方法:复数加法和复数减法运算。在上述类中添加两个静态方法:求一个复数的模和求一个复数的复角。 设计一个子类,该子类继承了上述的类,并且至少拥有自己的两个方法:复数乘法和复数除法。2.编写一个线段类 MyLine,要求如下:主要属性有: x ,y ;类型为Point (查看API)编写构造方法,如 MyLine(Point p1 , Point p2)编写5个成员方法。(1. design a class that handles compl
java
- JAVA单列设计,java继承,初学者demo(java Single design,java extends .)
Inheritance_mapping
- Hibernate:采用“每个类一个数据表”的方式,实现继承关系映射。《Java EE 实用教程(第二版)》(Hibernate: implements the inheritance relationship mapping in the way "each class of data tables" is used. "Java EE practical course (Second Edition)")
people
- Java的复习题库,人类的编写以及各类的继承。(Java review question bank)