πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      Which statement about abstract methods is

      true?
      A They must be declared private. Correct Answer Incorrect Answer
      B They provide a default implementation. Correct Answer Incorrect Answer
      C They must be implemented by concrete subclasses. Correct Answer Incorrect Answer
      D They can only exist in concrete classes. Correct Answer Incorrect Answer
      E They are always static. Correct Answer Incorrect Answer

      Solution

      An abstract method is declared without an implementation (body). Any concrete (non-abstract) class that inherits from an abstract class containing abstract methods *must* provide an implementation for all inherited abstract methods.

      Practice Next
      ask-question