Multiple choice

Which of the following options is correct?

i. The Serializable interface has 0 methods ii. The Serializable interface has 1 method iii. The Serializable interface has 2 methods iv. The Serializable interface has 3 methods

  1. i. is true

  2. ii. is true

  3. iii. is true

  4. iv. is true

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

This answer is correct because Serializable interface is a marker interface and does not have any methods. This interface when implemented, tells the object serializable tools whether the class is serializable or not.