摘要:
package com.test05.myTest;class Fruit { public String toString() { return "Fruit"; } }class Apple extends Fruit { public String toString(){ return "Apple"; } }class Person { public String toString(){ return "Person"; } }class ClassName {//主类,文件名ClassName.java void show. 阅读全文