dcsimg
Example class that implement Serializable interface
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, June 27, 2003 08:23 PM

Dear,


I have a class myData that I want to implement Serializable interface. class myData has only two fields: Integer iData1, String sData2 .


Could anybody shown me how my myData class should be?


Thanks a lot!

Re: Example class that implement Serializable interface

Posted By:   AlessandroA_Garbagnati  
Posted On:   Monday, June 30, 2003 08:27 AM

Hi,


public class MyData implements Serializable {

Integer iData1;
String sData2;

}
About | Sitemap | Contact