我有这个代码
public class MemSim {
public static final int NUM_PAGES = MemParam.NUM_PAGES;
public static final int NUM_PROGRAMS = MemParam.NUM_PROGRAMS;
public static final int MAX_SIZE = MemParam.MAX_SIZE;
public static final int PAGE_SIZE = MemParam.PAGE_SIZE;
public void PageUsage(int sval, int eval) {
sval = 0;
eval = NUM_PAGES - 1;
System.out.println(sval, eval);
}
}
我收到错误消息:
MemSim.java:27: cannot find symbol
symbol : method println(int,int)
location: class java.io.PrintStream
System.out.println(sval , eval);