What is the need to implement Serializable interface (with
no methods) for objects which are to be serialized ?
We can write our own functionality which writes objects to
streams then why we need to implement and tell JVM that
which objects can be serialized.
Answer Posted / th
Serializable is used
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Why is stringbuffer faster than string?
What is the final keyword?
What is queue in java?
When is an object subject to garbage collection?
How will you get the platform dependent values like line separator, path separator, etc., ?
Which method cannot be overridden in java?
What is the use of toarray () in java?
What are variable names?
Which is better stringbuilder or stringbuffer?
What is the purpose of the runtime class in java programming?
What is ordered map in java?
Why Java doesn’t support multiple inheritance?
Is list ordered in java?
Which methods are used during serialization and deserialization process?
Differentiate between postfix and prefix operators in java.