• 2022-07-28
    以下静态方法定义中错误的是()
    A: public static void sayHello(){ System.out.println("hello"); }
    B: public staticvoid sayHello(){ System.out.println("hello"); return; }
    C: public static show(String name){
    System.out.println(name); }
    D: public staticboolean shiPengyou(){ return true; }