public class Salary {/*** @param args*/public static void main(String[] args) {//用继承,重写方法,都是调用的wages()方法Person personManager = new Manager();System.out.println("这个人的工资是:"+personManager.wages());Person personEngineer = new Engineer();System.out.println("这个人的工资是:"+personEngineer.wages());Person personWorker = new Worker();System.out.println("这个人的工资是:"+personWorker.wages());}}//人类class Person {public String wages(){return "";}}//经理类class Manager extends Person{public String wages(){return "5000/月";}}//工程师类class Engineer extends Person{public String wages(){return "3000/月";}}//工人类class Worker extends Person{public String wages(){return "2000/月";}}
鬼谷算命 http://www.cnjm.net/soft.jsp?id=341塔罗牌行不行? http://www.3gxz.com/7688/手机算命英文版 http://soft.cool-net.cn/game/game_info.asp?GameId=5276手机算命软件集,八个 http://www.k88.net/soft/sort0215/sort0218/sort0232/list232_1.html能告诉我这软件叫什么名字么?