Core Java Interview Topics
Monday, February 4, 2019
Why can't I serialize an object without a no-arg constructor even though it implements Serializable?
Answer :
A Serializable class doesn't need a no-args constructor. Its nearest non-serializable base class does
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment