JavaBug(1)——Cannot make a static reference to the non-static method Judge(int) from the type A
package _4;
import java.util.LinkedList;
import java.util.Scanner;
public class A {
public boolean Judge(int o) {
if(o!=2&&o!=4&&o!=8&&o!=16) {
System.out.println("error");
return false;
}
else
return true;
}
public void Binary(int i) {
LinkedList
共有 0 条评论