public interface HuMan {
public void sapck();
}
public class Chinaese implements HuMan{
@Override
public void sapck() {
System.out.println("Chinaese man spack");
}
}
public class American implements HuMan {
@Override
public void sapck() {
System.out.println("American man spack");
}
}
public void sapck();
}
public class Chinaese implements HuMan{
@Override
public void sapck() {
System.out.println("Chinaese man spack");
}
}
public class American implements HuMan {
@Override
public void sapck() {
System.out.println("American man spack");
}
}
public class HelloWorld {
static int score1 = 86;
static int score2 = 92;
public static int sum() {
return score1+score2;
}
public static void main(String[] args) {
int allScore = sum();
System.out.println("总分:" + allScore);
}
}
static int score1 = 86;
static int score2 = 92;
public static int sum() {
return score1+score2;
}
public static void main(String[] args) {
int allScore = sum();
System.out.println("总分:" + allScore);
}
}
2017-10-05