-
Which of the following is not true about Java beans?
-
- Extends java.io.Serializable class
- Implements java.io.Serializable interface
- Provides setter and getter methods for its properties
- Provides no argument constructor
- None of these
Correct Option: A
java.io.Serializable is not a class. Instead it is an interface. Hence it cannot be extended.