Home » JAVA Programming » Java Basic » Question
  1. Which of the following is not true about Java beans?
    1. Extends java.io.Serializable class
    2. Implements java.io.Serializable interface
    3. Provides setter and getter methods for its properties
    4. Provides no argument constructor
    5. None of these
Correct Option: A

java.io.Serializable is not a class. Instead it is an interface. Hence it cannot be extended.



Your comments will be displayed only after manual approval.