McqMate
| Q. |
Which of the following are true about interfaces. |
| A. | Methods declared in interfaces are implicitly private. |
| B. | Variables declared in interfaces are implicitly public, static, and final. |
| C. | An interface contains any number of method definitions. |
| D. | The keyword implements indicate that an interface inherits from another. |
| Answer» B. Variables declared in interfaces are implicitly public, static, and final. | |
View all MCQs in
Java ProgrammingNo comments yet