Please answer
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Teena_Pathak
Posted On:   Wednesday, September 19, 2007 02:51 AM

Which one of the following requirements must a class meet in order to be written to a stream using ObjectOutputStream?
Choice 1 The class must implement the Serializable interface.
Choice 2 All fields and methods in the class must be declared public.
Choice 3 The class cannot contain any static fields or methods.
Choice 4 The class cannot have any fields declared as transient.
Choice 5 The class must provide a SerialPersistentFields array.

Re: Please answer

Posted By:   Robert_Lybarger  
Posted On:   Wednesday, September 19, 2007 09:46 AM

totally has to have that crazy named array thing... that's the only answer that makes any sense at all, and I'm sure the api docs are fairly clear on this point when one consults them.

Re: Please answer

Posted By:   WarnerJan_Veldhuis  
Posted On:   Wednesday, September 19, 2007 03:29 AM

Ah, you're back. Long time no see. So are you finished yet with your quiz that we have to solve for you? Looks like you're not. Looks like you're going to fail your class as well. Ah well, couldn't care. This place will help you get a future.
About | Sitemap | Contact