Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core java - Interview Questions and Answers for 'Forgerock' - 1 question(s) found - Order By Newest|
|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 Asked in 18 Companies 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 is Externalizable interface?|