Forum: Serialization

Serialization and Externalization Questions.

14-4-2018 03:20:24 PM
User Image
SreeKanth9

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 11

Posts: 12

Custom Marker Interface

Is it possible to create custom marker interface?If possible how?If no... More

Last edited by SreeKanth9: 28-4-2018 12:26:20 PM
Replies: 1 | Views: 323
Marker Interface is the empty interface.We can create an empty interface.But we can't make...
28-4-2018 12:26:20 PM
25-2-2018 10:25:28 AM
User Image
ALTAAF

Newbie

Joined: Feb 18, 2018

Points: 100

Threads: 3

Posts: 6

Why this program is rising error still we can assign any object to Object class?

[code] // Since Object class is parent class of all the classe... More

Last edited by ALTAAF: 23-4-2018 05:33:46 PM
Replies: 0 | Views: 95


No Posts Available
19-12-2017 06:43:03 AM
User Image
SourabJain

Newbie

Joined: Jun 28, 2017

Points: 100

Threads: 9

Posts: 14

How can I serialised of partial object?

My object has 10 states but the client is required only 2 states and t... More

Last edited by SourabJain: 20-12-2017 02:43:15 PM
Replies: 2 | Views: 463
For more information please click below link.
20-12-2017 02:43:15 PM
17-9-2017 12:20:56 PM
User Image
chowdaka5

Newbie

Joined: Jun 28, 2017

Points: 145

Threads: 27

Posts: 97

how can i do

How can I restrict that no one can serialize my Singleton class object... More

Last edited by chowdaka5: 20-12-2017 01:34:53 PM
Replies: 2 | Views: 587
You have to implement your class from serializable interface and you have to write  a...
19-12-2017 06:13:04 AM
29-11-2017 09:21:05 AM
User Image
aditya

Newbie

Joined: Jun 28, 2017

Points: 105

Threads: 6

Posts: 12

Serialize/Deserialize of enum

How to serialize an enum? i read the specification but can't unders... More

Last edited by aditya: 29-11-2017 09:30:00 AM
Replies: 0 | Views: 271


No Posts Available
28-11-2017 05:45:05 PM
User Image
KishanJ

Newbie

Joined: Jul 6, 2017

Points: 110

Threads: 7

Posts: 24

Difference between writeobject() vs writeExternal() and readObject() and readExternal()

When there is two magical methods readObject() and writeObject() are a... More

Last edited by KishanJ: 28-11-2017 06:00:00 PM
Replies: 0 | Views: 337


No Posts Available
27-11-2017 05:27:36 PM
User Image
Shivaay

Newbie

Joined: Jul 5, 2017

Points: 160

Threads: 16

Posts: 84

How to Serialize an object having non serializable object as attribute?

I have 2 classes... Course and Subject, Course implements from Seriali... More

Last edited by Shivaay: 28-11-2017 10:55:35 AM
Replies: 1 | Views: 330
declare subject as static variable
28-11-2017 10:55:35 AM