文件名称:3
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:10.26kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Java 实验报告
实验要求
(1) 编写Point类,实现相关方法
(2) 编写Circle类,实现相关方法
(3) 编写ClassTest类,并在main方法中创建两个Point对象和两个Circle对象,对象的参数可以用固定值
(4) 调用Point和Circle的相关方法,并把返回值输出到屏幕上。
(5)
把实验1-2的程序制作为2个Java包。
实验中的包名为experiment?,其中?表示实验编号。例如,实验1中的HelloWorldApp类的所隶属的包名为experiment1。
-Java object-oriented programming test requirements (1) write the Point class, implement the relevant methods (2) write the Circle class, implement the relevant methods (3) write ClassTest class, and in the main method to create two Point objects and two Circle objects , the object can be a fixed value of the parameter (4) call the relevant methods and Circle Point, and the return value output to the screen. (5) the experimental procedure for the production of 1-2 2 Java package. experiment package called the experiment?, Which? That experiment number. For example, in Experiment 1 HelloWorldApp class belongs package called experiment1.
实验要求
(1) 编写Point类,实现相关方法
(2) 编写Circle类,实现相关方法
(3) 编写ClassTest类,并在main方法中创建两个Point对象和两个Circle对象,对象的参数可以用固定值
(4) 调用Point和Circle的相关方法,并把返回值输出到屏幕上。
(5)
把实验1-2的程序制作为2个Java包。
实验中的包名为experiment?,其中?表示实验编号。例如,实验1中的HelloWorldApp类的所隶属的包名为experiment1。
-Java object-oriented programming test requirements (1) write the Point class, implement the relevant methods (2) write the Circle class, implement the relevant methods (3) write ClassTest class, and in the main method to create two Point objects and two Circle objects , the object can be a fixed value of the parameter (4) call the relevant methods and Circle Point, and the return value output to the screen. (5) the experimental procedure for the production of 1-2 2 Java package. experiment package called the experiment?, Which? That experiment number. For example, in Experiment 1 HelloWorldApp class belongs package called experiment1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验3.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
