- 博客(2)
- 收藏
- 关注
原创 Java多态经典案例分析
b.show(d)先查找类B中是否存在形参为类D实例的方法,发现类B中存在继承自类A的show(D obj),所以输出“A and D”可是由于a2是类B实例,并且类B中重写了show(A obj),所以执行类B中的show(A obj),输出“B and A”b.show(b)先查找类B中是否存在形参为类B实例的方法,发现类B中存在show(B obj),所以输出“B and B”那么再把类B实例b自动转换为其父类实例即类A实例,发现类A中存在show(A obj),所以输出“A and A”
2023-11-27 17:26:55 32
原创 Cryptography and linear algebra
Abstract: This paper aims to clearly interpret the process of Hill’s cipher and the mathematical method in it, also we will sequentially focus on the deeper use of Hill’s cipher as well as application...
2018-11-04 09:47:26 426
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人