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 'Externalizable' - 3 question(s) found - Order By Rating | ||||
| ||||
Ans. Externalizable interface is used to write the state of an object into a byte stream in compressed format. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   oops   serialization   externalizable interface   interface Asked in 3 Companies | ||||
Related Questions | ||||
Difference between serializable and externalizable interface ? | ||||
What is Externalizable interface? | ||||
| ||||
Ans. Serializable is a marker interface whereas externalizable is not. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   oops   serialization   externalizable   interface   marker interface | ||||
Related Questions | ||||
Differences between abstract class and interface ? | ||||
What are the different uses of Interfaces in Java ? | ||||
Why can't we have diamond problem with interfaces ? | ||||
Why do we need Thread class even in case we execute thread using runnable interface ? | ||||
What is the difference between List, Set and Map ? or What are the different Java Collections Interfaces ? | ||||
What are Marker Interfaces ? Name few Java marker interfaces ? | ||||
Can we declare interface methods as private ? | ||||
What is comparator interface used for ? | ||||
What is the use of runnable interface if we can always create a new thread using Thread class ? | ||||
Which of the following doesn't extend Collection interface ? | ||||
| ||||
Ans. Externalizable is an interface which contains two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   serialization   externalizable interface Asked in 2 Companies intermediate   rare | ||||
Related Questions | ||||
What is an Externalizable interface ? | ||||
Difference between serializable and externalizable interface ? | ||||