← Quiz: Abstract Classes and Interfaces: all 10 questions
Quiz: Abstract Classes and Interfaces · Question 3 of 10
Fields declared in an interface are automatically:
Fields declared in an interface are automatically:
- A.private
- B.protected and mutable
- C.public static final (constants)
- D.instance variables
Answer & explanation
Correct answer: public static final (constants)
Interface fields are constants.
Can you get the rest right without peeking?
Take the timed Quiz: Abstract Classes and Interfaces quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →