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

State the main difference between c++ and java?

1141


How will you reverse a singly-link list?

1051


How do you format in java?

1043


Is empty in java?

1111


What is finally block?

1126


What is a class component?

1220


Why does java does not support multiple inheritance? Explain

1039


How can an exception be thrown manually by a programmer?

1048


What are inbuilt functions?

1046


how we can make a write-only class in java?

1080


Explain about strings in java?

1127


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2890


Explain throw keyword in java?

1091


Define interface in java?

1130


Is zero a natural number?

1100