Which of the following is correct about an interface in java?
1. An Interface can declare data members but must be constants
2. All methods in an interface are implicitly abstract
3. Methods in an interface may be public, private, protected.
4. An interface can implement an abstract class
Back To Top