Which of the following statements is true about an interface in Java?

Which of the following statements is true about an interface in Java?

جاوا میں انٹرفیس کے بارے میں درج ذیل میں سے کون سا بیان درست ہے؟
Explanation
  • Interfaces in Java can declare abstract methods (without a body) and default methods (with a body).
  • They cannot have constructors or instance variables.