About 53 results
Open links in new tab
  1. What is [Serializable] and when should I use it? - Stack Overflow

    I found out that some classes use the [Serializable] attribute. What is it? When should I use it? What kinds of benefits will I get?

  2. java - What does Serializable mean? - Stack Overflow

    Aug 7, 2010 · 1 Serializable is an interface called marker-interface just to tell Java I want to make serialization and de-serialization using this Java calss. Serialization: Write to the file or any other …

  3. serialization - What is Serializable in Java? - Stack Overflow

    serializable is a special interface that specifies that class is serialiazable. It's special in that unlike a normal interface it does not define any methods that must be implemented: it is simply marking the …

  4. When should we implement Serializable interface? - Stack Overflow

    55 Implement the Serializable interface when you want to be able to convert an instance of a class into a series of bytes or when you think that a Serializable object might reference an instance of your class. …

  5. java - What is object serialization? - Stack Overflow

    In Java, the serialization mechanism is built into the platform, but you need to implement the Serializable interface to make an object serializable. You can also prevent some data in your object from being …

  6. serialization - What is the difference between Serializable and ...

    May 3, 2009 · Basically, Serializable is a marker interface that implies that a class is safe for serialization and the JVM determines how it is serialized. Externalizable contains 2 methods, readExternal and …

  7. Why and when to use Serializable objects in Java [duplicate]

    Feb 6, 2020 · public class ScjpMainClass implements Serializable { private static final long serialVersionUID = 4950998071495051590L; } What are the benefits we achieved while using …

  8. Isolation Level - Serializable. When should I use this?

    Aug 12, 2010 · The SERIALIZABLE isolation level is the highest isolation level based on pessimistic concurrency control where transactions are completely isolated from one another. The ANSI/ISO …

  9. Qual a finalidade da interface Serializable? - Stack Overflow em …

    Nov 25, 2016 · Adicionando a interface serializable será possível transformar o objeto num formato que poderá ser salvo num arquivo. Por exemplo, para utilizar um ObjectOutputStream e salvar um objeto …

  10. Зачем нужен атрибут [Serializable] и что он делает?

    [Serializable] class B { public B Pred; public B Next; } По-умолчанию, если при сериализации встречается публичное поле содержащее объект, этот объект также сериализуется.