How Array List can be Serialized.

Answers were Sorted based on User's Feedback



How Array List can be Serialized...

Answer / tirupathi rao

By Default all the Collection classes are serialized.And
Serializable is not a class its an Interface.

Is This Answer Correct ?    42 Yes 4 No

How Array List can be Serialized...

Answer / ysr

Array list implements Cloneable, Collection, List,
RandomAccess, Serializable
Interfaces. So no need to implement the serialized
interface.

Is This Answer Correct ?    21 Yes 1 No

How Array List can be Serialized...

Answer / srinu

Arraylist are already implent serializible interface.

Is This Answer Correct ?    14 Yes 0 No

How Array List can be Serialized...

Answer / javachi

To have serialized array list, we need to implement the serializable interface.

Is This Answer Correct ?    6 Yes 6 No

How Array List can be Serialized...

Answer / rishi

by serialized interface

Is This Answer Correct ?    4 Yes 6 No

How Array List can be Serialized...

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

How Array List can be Serialized...

Answer / kumaraswamy18

It is done by extending Serializiable class

Is This Answer Correct ?    9 Yes 40 No

Post New Answer

More Core Java Interview Questions

What string is utf8?

0 Answers  


What is the difference between static method and instance method in Java?

0 Answers   SwanSoft Technologies,


what is the difference between String and StringBuffer classes?

2 Answers   Infosys,


What is int short for?

0 Answers  


What is the life cycle of Thread ?

12 Answers   HCL, Varnar Softech,






What is the use of using enum to declare a constant?

0 Answers   Fidelity,


What is a pointer and does java support pointers?

0 Answers  


What is the life cycle of an Applet ?

1 Answers  


Can we pass a primitive type by reference in java? How

0 Answers  


What is bean? Where it can be used?

0 Answers  


What is the difference between class & object?

0 Answers  


What is basic concept of static in java ?

1 Answers   iGate,


Categories