The following question is about java programming. Which two word do one need to add the class declaration if one wants to permit that objects of a class A should be able to save to the method writeObject in the class ObjectOutputStream? That is as public class A word1 word2
Given that
Which two word do one need to add the class declaration if one wants to permit that objects of a class A should be able to save to the method writeObject in the class ObjectOutputStream? That is as public class A word1 word2
answer) public class A extends ObjectOutputStream
Because, if we want to permit that objects of a class A to save the mehtod of class B , class A should extends the class B.
The following question is about java programming. Which two word do one need to add the...