Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how many ways we can serialize the java object?

Answers were Sorted based on User's Feedback



how many ways we can serialize the java object?..

Answer / manikandansit

in two ways we can serialize java object by implementing
Serializable and Externalizable interface

Is This Answer Correct ?    5 Yes 0 No

how many ways we can serialize the java object?..

Answer / ram

The core serialization support is in the java.io package,
and consists of two interfaces and two classes:
java.io.Serializable, java.io.Externalizable,
java.io.ObjectOutputStream, and java.io.ObjectInputStream.

Using java.io.ObjectOutputStream, you can write serialized
objects to any kind of stream: file, network, memory, etc.
Using java.io.ObjectInputStream, you can read serialized
objects from any kind of stream.

Is This Answer Correct ?    8 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is the use of volatile in java?

0 Answers  


How can you set an applet’s height and width as a percentage?

0 Answers  


Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.

4 Answers  


What is the requirement of thread in java?

0 Answers  


Is &&= a valid Java operator?

2 Answers  


What happens if a constructor is declared private?

0 Answers  


What is run time allocation?

0 Answers   Fidelity,


How the threads are synchronized?

2 Answers   BMC, CTS,


Why do we override tostring method in java?

0 Answers  


What is meant by Session? Explain something about HTTP Session Class?

1 Answers  


How does multithreading take place on a computer with a single cpu?

0 Answers  


Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.

5 Answers  


Categories