Which three piece of codes are equivalent to line 3?
| ||||||||
|
Answer: Option A
Explanation:
(1), (2) and (3) are correct. Interfaces can have constants, which are always implicitly public, static, and final. Interface constant declarations of public,static, and final are optional in any combination.
No comments:
Post a Comment