package com.evs.objava33.class7;
import com.evs.objava33.class8.FirstInterface;
public abstract class Tree implements FirstInterface {
String type;
public Tree() {
type = "Unknown";
}
public Tree(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String toString() {
return "Tree [type=" + type + "]";
}
public abstract long secndTime();
}
No comments:
Post a Comment