Question:

Which of the following is true?

public interface I {
  public void method();
}

public abstract class C implements I {
  private C() {
  }

  public static C getInstance() {
    return new C();
  }

  public void method() {
  }
}

Answers:


Keywords:

© 2017 QuizBucket.org