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 / priya

yes we are able to done the above question by using
transient keyword

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the pointers in Java?

598


What is the use of put method?

516


What is stringwriter?

539


What java ide should I use?

571


Which is bigger float or double?

518






Can we sort set in java?

542


Can a function return a function?

552


How do you add spaces in java?

514


What are the Static and Dynamic Variables? Differentiate them.

609


Explain thread life cycle in java?

589


Are arrays classes in java?

535


Why we use protected in java?

538


What is string and its types?

613


What is the difference between sleep and wait in java?

514


What does string mean in java?

630