摘要:
1、 [root@centos7 test5]# ls test.java [root@centos7 test5]# cat test.java class Dog{ ## 类 int size; String breed; String name; void bark() { System.ou 阅读全文
posted @ 2022-04-14 18:00
小鲨鱼2018
阅读(35)
评论(0)
推荐(0)
摘要:
类是对象的抽象定义,对象是类的具体实例。 类就是对象???? 对象就是类??? 阅读全文
posted @ 2022-04-14 15:59
小鲨鱼2018
阅读(111)
评论(0)
推荐(0)
摘要:
java中类与方法: 阅读全文
posted @ 2022-04-14 15:21
小鲨鱼2018
阅读(28)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos7 test4]# ls test.txt [root@centos7 test4]# cat test.txt 3 2 7 3 2 8 7 [root@centos7 test4]# sort -u test.txt ## sort -u命令 2 3 7 8 阅读全文
posted @ 2022-04-14 14:59
小鲨鱼2018
阅读(189)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos7 test4]# ls test.txt [root@centos7 test4]# cat test.txt d j k j x m y e s g j i x v b d z c e t 2、统计行数和列数 [root@centos7 test4]# ls 阅读全文
posted @ 2022-04-14 14:52
小鲨鱼2018
阅读(430)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos7 test4]# ls test.txt [root@centos7 test4]# cat test.txt e f j f f f d x s f f d g f f d e j k i c f w f d 2、替换第一个f为xxx [root@cento 阅读全文
posted @ 2022-04-14 14:38
小鲨鱼2018
阅读(521)
评论(0)
推荐(0)
摘要:
1、测试数据 [root@centos7 test4]# ls test.txt [root@centos7 test4]# cat test.txt e f j d i x a d g c F w 2、grep 实现 [root@centos7 test4]# ls test.txt [root@ 阅读全文
posted @ 2022-04-14 14:24
小鲨鱼2018
阅读(345)
评论(0)
推荐(0)
摘要:
1、java编译报错 error: reached end of file while parsing 2、出现这种报错的原因是括号没有成对,检查源代码: 补全括号,保存退出: 3、再次编译、执行 [root@centos7 test5]# ls test.java [root@centos7 te 阅读全文
posted @ 2022-04-14 08:32
小鲨鱼2018
阅读(5945)
评论(0)
推荐(0)

浙公网安备 33010602011771号