Multiple choice technology programming languages

Serializable interface has two methods which MUST be overridden when a class implemnts Serializable interface.

  1. True

  2. False

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

Serializable is a marker interface - it has NO methods. The JVM checks for this interface at runtime to enable serialization, but there's no requirement to override any methods. The statement claiming it has two methods that must be overridden is false.