MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is true about methods in an interface in java? |
| A. | An interface can contain only abstract method. |
| B. | We can define a method in an interface |
| C. | Private and protected access modifiers can also be used to declare methods in interface |
| D. | None of the above |
| Answer» B. We can define a method in an interface | |