Question 7.
A Vector class in jdk 1.2
1.is public
2.is final
3.implements java.util.List
4.is serializable
has only One constructor
ans:1.3.4
--------------------------------------------------------------------------------
Question 8.
A
String Class
1.is final
2.is public
3.is serializable
4.has a constructor which takes a StingBuffer Object as an Argument
ans:1.2.3.4.
In the jdk-doc ,it deosn't specify the feature if a class/interface is subclass of the serializable interface,such as the class String.How can I judge wheathe a class is serializable??
How can I judge if a class is serializable or not?