登录
首页 » Java » StudentClass

StudentClass

于 2012-04-26 发布 文件大小:1KB
0 191
下载积分: 1 下载次数: 2

代码说明:

  一个简单的学生信息记录表,用到了子类和父类的构造与派生(A simple student information records, use the subclass structure and derivation)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Mypicture
    定义4个类,MyShape、MyLine、MyRectangle和MyOval,其中MyShape是其他三个类的父类。MyShape为抽象类,包括图形位置的四个坐标;一个无参的构造方法,将所有的坐标设置为0;一个带参的构造函数,将所有的坐标设置为相应值;每个坐标的设置和读取方法;abstract void draw(Graphics g)方法。MyLine类负责画直线,实现父类的draw方法;MyRectangle负责画矩形,实现父类的draw方法;MyOval负责画椭圆,实现父类的draw方法。编写一个应用程序,使用上面定义的类,随机选取位置和形状,绘制20个图形。(Defines four classes, MyShape, MyLine, MyRectangle and MyOval, which MyShape the other three parent class. MyShape is an abstract class, including graphics position four coordinates a no-argument constructor, all the coordinates are set to 0 a parameterized constructor, all the coordinates is set to the corresponding values each coordinate set and reading method abstract void draw (Graphics g) method. MyLine class is responsible for drawing straight lines, to achieve the draw method of the parent class MyRectangle responsible for drawing rectangles, to achieve the parent class draw method MyOval responsible painted oval, draw method to achieve the parent class. Write an application that uses the class defined above, randomly selected location and shape, draw 20 graphics.)
    2021-04-14 09:08:55下载
    积分:1
  • Grails_Develop
    利用grails框架开发web工程,并进行部署(grails develop)
    2012-06-06 15:25:51下载
    积分:1
  • object-oriented-concepts-and--skills
    详细介绍面向对象的方法论、图示、概念及使用技巧,全面讲述面向对象数据库的理论与应用,深入探讨软件品质管理及软件开发模型,通过大量范例将面向对象分析与设计的重要理论做深入浅出地阐述。 面向对象分析与设计 (Detailed methodology, icon, object-oriented concepts and use skills, a full description of the theory and application of object-oriented database, depth discussion of software quality management and software development model, through a large number of examples of the object-oriented analysis and design theory do elaborate in layman' s language. Object-Oriented Analysis and Design)
    2012-09-11 17:34:32下载
    积分:1
  • src
    书籍Java与模式的随书源代码文件,都可以运行成功,是学习设计模式的好资料(Java and pattern books with the book source code files, you can run successfully, is to learn good information design patterns)
    2013-08-19 12:33:59下载
    积分:1
  • HeadFirstJava
    《head first java》的源代码(" Head first java" source code)
    2015-04-08 22:43:27下载
    积分:1
  • FirstMyBatis
    使用mybatis实现的一个小例子,可以帮助初学者快速入门(user mybatis complete a demo)
    2013-12-29 13:41:36下载
    积分:1
  • javahowtoprogram6th
    JAVA 编程书,原书第六版。是英文版的,(How to program in JAVA,6th version in English)
    2009-05-31 11:44:06下载
    积分:1
  • 数据压缩与传输
    说明:  Java数据压缩与传输实例,可以学习一下实例化套按字、得到文件输入流、压缩输入流、文件输出流、实例化缓冲区、写入数据到文件、关闭输入流、关闭套接字关闭输出流、输出错误信息等(Java data compression and transmission examples, you can learn to instantiate sets of words, get file input stream, compressed input stream, file output stream, instantiate buffer, write data to file, close input stream, close socket and close output Stream, output error message, etc.)
    2020-04-21 08:10:14下载
    积分:1
  • Versant
    面向对象数据库实验,建立点线面模型,可以用来学习面向对象数据库(Object-oriented database experiments, point, line and plane model)
    2014-01-03 08:47:07下载
    积分:1
  • ReadRecInd
    Read Rec Ind Source Code for Andriod.
    2013-11-07 11:28:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载