Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have 2 objects inside one object(vector). how can i
serialize one of them. I dont want to serialize the second one

Answer Posted / saroj kumar biswal

this answer is not correct. bcz java compiler will throw an error-illegal declaration of statement.check it out.

I think we will go for Externalizable interface. But the problem is how write the code inside writeExternal() & readExternal() methods

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is supplier in java?

997


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

9200


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1481


What is the java reflection api? Why it’s so important to have?

969


What is passing by reference in java?

1010


Is a case study a method or methodology?

889


What java ide should I use?

985


What are the restrictions that are applied to the java static methods?

979


Explain the difference between collection api and stream api in java8?

961


Why vector is used in java?

1020


What happens when a thread cannot acquire a lock on an object in java programming?

1004


Is array a class?

922


What is nextint java?

1042


What is stack example?

1016


What is the final access modifier in java?

1071