Which is the Best Java Web Framework ?

Java - Interview Questions and Answers on Externalizable Interface

Q1.  What is an Externalizable interface ?

Ans. Externalizable interface is used to write the state of an object into a byte stream in compressed format. It contains two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism.

Q2.  Difference between serializable and externalizable interface ?

Ans. Serializable is a marker interface whereas externalizable  is not.

Q3. Externalizable is a / an ...

 a.Abstract Class
 b.Concrete Class
 c.Interface
 d.Package

Ans.Interface

Q4. Name few classes that implement Externalizable interface?

Ans.[MimeType, ActivationDataFlavor]


Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus




×

Try our new Java Interview Questions Search Tool.

There are more than 1000 questions with practice tests.

It's updated daily and It's Awesome.


×

Try our new Java Practice Test tool.

There are more than 200 questions and expanding quickly. It's updated daily and It's Awesome.