Explain Object Serialization and it can be used?
Answer Posted / devarathnam c,kotagudibanda(po
Hi,
Object Serialization: It is process of storing an object
state as permanently in the file(secondary storage).Java is
internet language ,so we need to serialize an object
into "bit-blobs" streams inorder to send an object(s) over
the network.To achieve this task we can use "Serializable"
interface(Marker interface),"ObjectOutputStream"
and "ObjectInputStream" classes also plays key role in the
Serialization process.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Are we allowed to change the transaction isolation property in middle of a transaction?
How many times may an objects finalize() method be invoked by the garbage collector?
What value does readline() return when it has reached the end of a file?
What are the different types of exception?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
Is it possible to stop the execution of a method before completion in a sessionbean?
what is a non-repeatable read?
What is difference between object state and behavior?
What are the oops concept?
What is a class loader? What are the different class loaders used by jvm?
What is ioc concept & explain it?
Define aop(assepct oriented programing)?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
what is Activation Instantinator?
What is synchronization and why is it important?