谢谢LS的,不过这程序在编译的时候出现了以下的错误,Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method initFrameForFIFO(int) in the type TestReplacement is not applicable for the arguments (int[])
The method FIFOReplace(int) in the type TestReplacement is not applicable for the arguments (int[])
The method initFrameForLRU(int) in the type TestReplacement is not applicable for the arguments (int[])
The method LRUReplace(int) in the type TestReplacement is not applicable for the arguments (int[])
请问是什么原因?