- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
java程序设实验报告模板
《Java程序设计》实验报告
班 级:
学 号:
学生姓名:
实验地点:
日 期:
1.实验内容:
A、编写一个类,该类的对象为飞机,飞机汽油储备充足时可以起飞。可以起飞时,在命令行中输出“汽油储备量充足,飞机可以启动”。
B、创建一个工资员工类,该类包含员工的信息:姓名、年龄、部门。创建2个公司的员工:张三、李四,输出他们的姓名、年龄、部门信息。
C、以公司员工为例,创建为员工加薪的类。输出员工的信息以及加薪的百分比后输出新的薪水。这里假设加薪7%,创建3个员工对象,输出他们涨后的薪水。
2.实验目的:
A、巩固知识点——创建类。
B、巩固知识点——成员变量。
C、扩展知识点——类和成员变量。
3.实验要求:
用Eclipse编写java程序
4.算法分析:
在java中可以通过使用类创建用户需要的对象。在main方法中实例化Airplane类后,调用startIsEnough()。
new操作创建对象后将返回其引用值。成员变量定义在方法中。
定义类和成员变量。创建数组ee[],定义构造函数,并在类中创建方法。
程序清单:
见Fly.java
见company.java
见empioyee.java
6.实验结果:
7.实验总结:
通过此次编程,我初步掌握了Eclipse的使用。在对于类的学习中,发现了很多的问题,对于一些稍微复杂的例子,便弄不清楚如何调用,如何编写程序,没有头绪,这说明我还没有完全弄懂类和成员变量,并且灵活的使用,除了学习理论知识外,我还得在实践操作中多努力。
of support and hanger. Cable hole plugging gaps should use qualified fireproof materials, block surface should have sufficient strength, surface appearance. When cables pass through the firewall, of lax structure of local fire safety clamps. Thermoplastics production, to comply with the process, no bubbles in the thermoplastics pipes, linear nose consistent with the core wire specifications, contact is good, no cracks, break. Tinned copper nose clean solder full exterior surface is smooth without burrs. Control cable Assembly should be fastened, dense, solid, clean, and beautiful. Secondary wiring the cable terminations should be arranged by the actual location of the device line cards, the wiring from the upper to the lower, from left to right in the order. Fixed to maintain consistent spacing between lines, flat, should be around the corner in the same location, same shape, to ensure that the wiring process neater and more elegant. 5 thermal process control measures for quality problems 5.1 control thermal duct system leakage measure to ensure that the use of electric door and actuator installation quality and equipment to the site to check its seal, acceptance, in order to fundamentally solve oil spill problems. Plant for local Panel after installation,
原创力文档


文档评论(0)