Search Interview Questions
| 3235 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. Storing the state of an object in a file or other medium is called serialization.|
Classes can communicate only if they are built together ( as they need Byte code for communication ). What if we need to enable communication between different applications ( i.e they have been built independently or even they reside at different locations ), We need a mechanism that will transfer the Bean state to a Medium than can be transferred to the receiving application.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve java oops serialization Computer Sciences Corporation (CSC) India Tieto Uproar Priceline.com HCL Technologies Cognizant (CTS) Hewlett Packard (HP) Mphasis Infosys Technologies Global Logic Microsoft Raytheon ForgeRock WhatsApp CricBuzz Imagination Learning Systems EROAD OFS Technologies basic   frequent|
Try 1 Question(s) Test
|Can we declare static variables as transient ?|
|Which elements of a class are ignored during serialization ?|
|Can we serialize static variables ?|
|What one should take care of, while serializing the object?|
|What is the use of Transient Keyword ?|
|Difference between Serialization and Deserialization ?|
|What is an Externalizable interface ?|
|Difference between serializable and externalizable interface ?|
|What are transient variables in java?|