A Admin • 828.03K Points Coach Q. In Java, can an interface have fields (member variables)? (A) Only if they are marked as "static" (B) Only if they are marked as "private" (C) No, interfaces cannot have fields (D) Yes, an interface can have constant (final) fields Correct Answer - Option(D) Views: 14 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.