secret behind Serializable interface

secret behind Serializable interface

How serialization work? What is the secret behind it. Can we create our one serializable interface. If so how?

View Answers

April 16, 2011 at 2:49 PM


April 16, 2011 at 4:35 PM

First link is not suitable at all for this question, however 2nd link description is quite okay but example :(. My query was how to create our own interface which can simulate serializable behavior.

Like : I have interface name MySerializable which give same function of existing Serializable..









Related Tutorials/Questions & Answers:
secret behind Serializable interface
secret behind Serializable interface  How serialization work? What is the secret behind it. Can we create our one serializable interface. If so how
Implement the Serializable Interface
Implement the Serializable Interface  hii How many methods do u implement if implement the Serializable Interface?   hiii,ADS_TO_REPLACE_1 The Serializable interface is just a "marker" interface, with no methods
Advertisements
Serializable
Serializable   what is serializable and when it is used
serializable & serialization
serializable & serialization  what is the difference between serializable and serialization in java
Interface Interceptor in Struts2.2.1
Interface Interceptor in Struts2.2.1 The Interface Interceptor (com.opensymphony.xwork2.interceptor ) extends Serializable interface and is a stateless class.... The Interceptor Interface have three methods are as follows- void destroy
Serializable Interface
java serializable tutorial
java serializable tutorial  What is Java Serializable
java serializable default constructor
java serializable default constructor  java serializable default constructor
ModuleNotFoundError: No module named 'serializable'
ModuleNotFoundError: No module named 'serializable'  Hi, My Python... 'serializable' How to remove the ModuleNotFoundError: No module named 'serializable' error? Thanks   Hi, In your python
Interface
for Interface in java? and want to know why they used interface instead of multiple inheritance? Thanks in advance   An interface is one which has abstract... implement(inherit)the interface and make use of the methods(functions
interface
interface   what is the use of marking interface
interface.
interface.  Write short note on interface.   Please visit the following link: Java Interface
interface
interface  will the interface implements a interface   Hi Friend, No. Interface can extends another interface but cannot implements it, because interface will not contain the implementation. Thanks
INTERFACE
INTERFACE  how interface support multiple inheritance in java
interface
interface   Hi I have interface in that interface 3 methods are there , after some days client said that,i want to add one more method in that interface ,so how can add 4 method so that the implemented class did not affect
interface
interface  can we extend interface?   Hi Friend, Yes an interface can be extended by other interface like using extends keyword interface A{ } interface B extends A{ } For Example: interface IntefaceA { void
interface
interface  what the use of interface?   An interface is one... variables.Any class can implement(inherit)the interface and make use... is achieved by using the interface (by implementing more than one interface at a time
interface
interface  What is marker interface ?? what is its use in java programming?? is this us in programming ??Explain is implementation with code
interface
interface  develop a library interface which has drawbook(),returnbook()(with fine),checkstatus() and reservebook() methods.all the methods tagged with public
interface
interface  develop a library interface which has drawbook(),returnbook()(with fine),checkstatus() and reservebook() methods.all the methods tagged with public
ModuleNotFoundError: No module named 'json_serializable'
ModuleNotFoundError: No module named 'json_serializable'  Hi, My... named 'json_serializable' How to remove the ModuleNotFoundError: No module named 'json_serializable' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'json_serializable'
ModuleNotFoundError: No module named 'json_serializable'  Hi, My... named 'json_serializable' How to remove the ModuleNotFoundError: No module named 'json_serializable' error? Thanks   Hi, In your
interface
interface  why do we need interface in java..if it`s usefull for to obtain multiple inheritance in the sense how it gonna be achieved...and i can...)...the y we need interface...THis is question often i heard from my developer
Interface
Interface  I need to implement the interface without overriding its method and also don't use abstract class for this. How to do
interface
interface  What is the exact use of interface in real time scenario? some people says that interface provides multiple inheritance. Is it true...; Through interface, we can achieve the multiple inheritance. Java does
Interface
Interface  1.Create an interface names ShapeInterface that has two... class a.Rectangle that uses the interface b.Circle that uses the interface and abstract class   interface ShapeInterface{ int l=0,b=0; public
Interface
Interface  1.Create an interface names ShapeInterface that has two... class a.Rectangle that uses the interface b.Circle that uses the interface and abstract class   interface ShapeInterface{ int l=0,b=0; public
Interface
Interface  Declare an Interface called property containting a method compute price to compute &return the price.The inerface is to be implemented by follwaing two class (1)Bungalow&(2)Flat both the lasses have following
ModuleNotFoundError: No module named 'django-behind-lb'
ModuleNotFoundError: No module named 'django-behind-lb'  Hi, My... named 'django-behind-lb' How to remove the ModuleNotFoundError: No module named 'django-behind-lb' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'flask-behind-proxy'
ModuleNotFoundError: No module named 'flask-behind-proxy'  Hi, My... named 'flask-behind-proxy' How to remove the ModuleNotFoundError: No module named 'flask-behind-proxy' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'secret'
ModuleNotFoundError: No module named 'secret'  Hi, My Python... 'secret' How to remove the ModuleNotFoundError: No module named 'secret'... to install padas library. You can install secret python with following command
null interface
null interface   what is the null interface and what is the use of it in real java project ?   Hi Friend, A null interface is an interface without any methods.Is also known as Marker interface. Null interfaces are used
ModuleNotFoundError: No module named 'django-serializable-model'
ModuleNotFoundError: No module named 'django-serializable-model'  Hi...: No module named 'django-serializable-model' How to remove the ModuleNotFoundError: No module named 'django-serializable-model' error? Thanks  
Markable Interface
) the state of an object then you have to implement the Serializable interface...Markable Interface  In Java can we create our own Markable Interface?? If yes then how, Please explain with example   Marker interface
Java Interview Questions 3
interface? Answer:There is no method in the Serializable interface. The Serializable interface acts as a marker, telling the object...; Answer: When you use Serializable interface, your class is serialized
ModuleNotFoundError: No module named 'aws-secret'
ModuleNotFoundError: No module named 'aws-secret'  Hi, My Python... 'aws-secret' How to remove the ModuleNotFoundError: No module named 'aws-secret' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'get-secret'
ModuleNotFoundError: No module named 'get-secret'  Hi, My Python... 'get-secret' How to remove the ModuleNotFoundError: No module named 'get-secret' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'secret-sharing'
ModuleNotFoundError: No module named 'secret-sharing'  Hi, My... named 'secret-sharing' How to remove the ModuleNotFoundError: No module named 'secret-sharing' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-storage'
ModuleNotFoundError: No module named 'secret-storage'  Hi, My... named 'secret-storage' How to remove the ModuleNotFoundError: No module named 'secret-storage' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret_details'
ModuleNotFoundError: No module named 'secret_details'  Hi, My... named 'secret_details' How to remove the ModuleNotFoundError: No module named 'secret_details' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-diary'
ModuleNotFoundError: No module named 'secret-diary'  Hi, My Python... 'secret-diary' How to remove the ModuleNotFoundError: No module named 'secret-diary' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-handshake'
ModuleNotFoundError: No module named 'secret-handshake'  Hi, My... named 'secret-handshake' How to remove the ModuleNotFoundError: No module named 'secret-handshake' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'secret-keeper'
ModuleNotFoundError: No module named 'secret-keeper'  Hi, My... 'secret-keeper' How to remove the ModuleNotFoundError: No module named 'secret-keeper' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-manager'
ModuleNotFoundError: No module named 'secret-manager'  Hi, My... named 'secret-manager' How to remove the ModuleNotFoundError: No module named 'secret-manager' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-miner'
ModuleNotFoundError: No module named 'secret-miner'  Hi, My Python... 'secret-miner' How to remove the ModuleNotFoundError: No module named 'secret-miner' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-notes'
ModuleNotFoundError: No module named 'secret-notes'  Hi, My Python... 'secret-notes' How to remove the ModuleNotFoundError: No module named 'secret-notes' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-sharing'
ModuleNotFoundError: No module named 'secret-sharing'  Hi, My... named 'secret-sharing' How to remove the ModuleNotFoundError: No module named 'secret-sharing' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'secret-storage'
ModuleNotFoundError: No module named 'secret-storage'  Hi, My... named 'secret-storage' How to remove the ModuleNotFoundError: No module named 'secret-storage' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'spaceone-secret'
ModuleNotFoundError: No module named 'spaceone-secret'  Hi, My... named 'spaceone-secret' How to remove the ModuleNotFoundError: No module named 'spaceone-secret' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'test-secret'
ModuleNotFoundError: No module named 'test-secret'  Hi, My Python... 'test-secret' How to remove the ModuleNotFoundError: No module named 'test-secret' error? Thanks   Hi, In your python environment

Ads