1.

Which of the following is not true about Java beans?(a) Implements java.io.Serializable interface(b) Extends java.io.Serializable class(c) Provides no argument constructor(d) Provides setter and getter methods for its properties

Answer» Right choice is (b) Extends java.io.Serializable class

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


Discussion

No Comment Found

Related InterviewSolutions