Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

Which of the following statements about default methods in interfaces is correct?

Click the option that best answers the question.

  • Default methods can only be used in abstract classes
  • Default methods can be overridden by classes that implement the interface
  • Default methods cannot have a method body
  • Default methods must be static