What is serializable class in JAVA?

Java

1 answer

Answer

1058498

2026-07-29 22:15

+ Follow

The serializable interface is used to perform the serialization action. Serialization is the process by which the contents of an object are written to any form of storage - say a flat file. This data stored in the flat file can be de-serialized at any time to create the object.

Ex: public class Test implements Serializable {

…

//lots of code

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.