- 博客(1)
- 收藏
- 关注
原创 java中通过子类对象访问父类方法的问题
java通过子类对象访问父类方法 package com.looper.java; public class InheritDemo { public static void main(String[] args) { Son son = new Son(); son.fatherMethod(); } } class Son extends Father{ }
2017-09-30 16:57:59
813
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅