- 博客(1)
- 收藏
- 关注
原创 java向上继承
晚上刚看了一个人的博客代码, public class day01_1 { public static void main(String[] args) { Shape sh = new circle(); System.out.println(sh.name); sh.printType(); sh.printName(); } } class Shape{ public String name = "shape"...
2022-03-21 22:04:12
303
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人