How Array List can be Serialized.

Answer Posted / dhaval

there is a method dont remember the name perfectly
though......Collections.synchronizedList(myList)

ArrayList myList = new ArrayList();

Collections.synchronizedList(myList)

Is This Answer Correct ?    7 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class contains a method: cloneable or object?

744


What is the difference between state-based unit testing and interaction-based unit testing?

697


What is difference between array and vector?

770


What are the three parts of a lambda expression?

728


Why Java doesn’t support multiple inheritance?

805


Why main function is static?

876


How we can run a jar file through command prompt in java?

712


Can a boolean be null java?

730


How to Sort Strings which are given in List and display in ascending order without using java api.

4070


What is meant by 'bit masking' in java?

857


What is the purpose of void?

731


What are instance variables?

805


What is printwriter in java?

711


What is hashing in java?

769


What is an inner class in java?

708