Multiple choice

All the data members in an interface are

  1. integers

  2. final

  3. protected

  4. private

  5. string

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct answer. All data members inside an interface need to be final. Once the data members are final, their values cannot be changed. If we do not make the data members final, it will result in compile time error.