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

Is set ordered in java?

986


What is data type example?

961


What is the use of accept () method in java?

1096


What are scalar data types?

1070


How many types of methods are there in java?

1008


When is the arraystoreexception thrown?

1025


When do we use synchronized blocks and advantages of using synchronized blocks?

1232


How do you convert boolean to boolean?

1158


Does a function need a return?

967


In java, what is the difference between method overloading and method overriding?

1121


what is use of functional interface in java 8?

1019


What about main thread in java?

1121


What is a string token?

1048


Does a class inherit the constructors of its superclass in java programming?

1115


Why do I need to declare the type of a variable in java?

1080