摘要: 对于这门课,还是有期待的,因为是专业课,也是代码基础课。 在写代码的过程中,看一下上课的ppt,对于代码的帮助也是很大的 其中,博客园的作用也是为了看看自己以前写的代码、 以后大概也会用这个来看看自己的代码,但也许已经转GitHub了 阅读全文
posted @ 2019-07-08 19:55 CAPlTAL 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1、随机输出班上5名学生的学号。 package JAVAclas; import java.util. ; public class Jav { public static void main(String[] args) { Random a=new Random(); int num=0; f 阅读全文
posted @ 2019-06-05 13:40 CAPlTAL 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 编写一个类ExceptionTest,在main方法中使用try catch finally语句结构实现:  在try语句块中,编写两个数相除操作,相除的两个操作数要求程序运行时用户输入;  在catch语句块中,捕获被0除所产生的异常,并输出异常信息;  在finally语句块中,输出一条语 阅读全文
posted @ 2019-06-05 13:33 CAPlTAL 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1.编写“人”类及其测试类。 1.1 “人”类:  类名:Person  属性:姓名、性别、年龄、身份证号码  方法:在控制台输出各个信息 1.2 测试类  类名:TestPerson  方法:main  对象:(张三,男,18,430101010101010101) (李四,女,18, 阅读全文
posted @ 2019-06-05 13:05 CAPlTAL 阅读(140) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1632046/201905/1632046-20190529103205515-40180058.png) ![](https://img2018.cnblogs.com/blog/1632046/201905/1632046-20190529103209520-1381430920.png) 阅读全文
posted @ 2019-05-29 10:32 CAPlTAL 阅读(90) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1632046/201904/1632046-20190424233200368-1487448902.png) ![](https://img2018.cnblogs.com/blog/1632046/201904/1632046-20190424233202548-1232631083.png) ![](https://... 阅读全文
posted @ 2019-04-24 23:33 CAPlTAL 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1632046/201904/1632046-20190424110117523-175679543.png) ![](https://img2018.cnblogs.com/blog/1632046/201904/1632046-20190424110125848-1411020066.png) ![](https://... 阅读全文
posted @ 2019-04-24 11:02 CAPlTAL 阅读(215) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1632046/201904/1632046-20190410114807433-1105744158.png) ![](https://img2018.cnblogs.com/blog/1632046/201904/1632046-20190410114815974-1249506376.png) ![](https:... 阅读全文
posted @ 2019-04-10 11:49 CAPlTAL 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 从小对电脑语言有深厚的兴趣,所以将兴趣变为职业 阅读全文
posted @ 2019-04-02 17:30 CAPlTAL 阅读(122) 评论(0) 推荐(0) 编辑