c语言,设职工工资表中有职工的编号,姓名,基本工资,奖金,扣税和实际工资,要求根据输入的各项求实

2024-11-17 10:32:09
推荐回答(1个)
回答(1):

public class Apple implements Fruit { // 通过implements实现接口Fruit
private int treeAge;

public void grow() {
log( " Apple is growing " );
}

public void harvest() {
log( " Apple has been harvested " );
}