CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS J2EE JAVA DETAILS
Question :
What is it object serialization?
Category Java Interview Questions
Rating (3.0) By 6 users
Added on 10/13/2004
Views 1363
Rate it!
Answers:

Serialization is a way to convert objects (including complex data structures such as lists and trees) into a stream of bytes.



Object serialization is the process of saving an object's state to a sequence of bytes, as well as the process of rebuilding those bytes into a live object at some future time.

To persist an object in Java, we must have a persistent object. An object is marked serializable by implementing the java.io.Serializable interface, which signifies to the underlying API that the object can be flattened into bytes and subsequently inflated in the future.



Posted by: modi    

Contact modi Contact modi

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    How to make application thread-safe ?
    View Answer
    What is it reflection (introspection) ? Why is reflection possible in the Java language?
    View Answer
    Why are Java ARchive (JAR) files important?
    View Answer
    In Java, You can create a String object as:
    String str = "abc"; &
    String str = new String("abc");
    Why cant a button object be created as : Button bt = "abc"
    Why is it compulsory to create a button object as: Button bt = new Button("abc");
    Why is this not compulsory in String's case?
    View Answer
    What are the main differences between Java and C++?
    View Answer
    What are interfaces?
    View Answer
    How can you achieve Multiple Inheritance in Java?
    View Answer
    What is the difference between StringBuffer and String class?
    View Answer
    Describe, in general, how java's garbage collector works?
    View Answer
    What's the difference between == and equals method?
    View Answer

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:

    View ALL Java Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions
    Page URL: http://www.coolinterview.com/interview/464/default.asp?cachecommand=bypass


    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

    0.84
    Cache = 0.015625 Seconds