what is the use of Clonable,and serializable interface?
serialzable and cloneable interface both are marker
interface
Cloneable interface:
if any class implements this interface .so this interface
its just a indicator or marker that a particular class
going touse clone() of the Object class to field tio field
copy of the instance ofthe particular class.
Serializable:
its also the interface .if any class implements it so means
that this particular class object convert in byte and going
to save in a locakl disk
and also its useful to send object in a Byteform to the
network.
and at the another network it will convert from byte to
Object of particular type.
| Is This Answer Correct ? | 48 Yes | 5 No |
What is the Layout for ToolBar?
Discuss about garbage collector in Java.
0 Answers Agilent, Integreon, ZS Associates,
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What does pointer mean?
What are scriptlets?
Write a program to print the pattern given below
What’s the difference between applets and standalone program?
Difference in the use of print, println, and printf.
What is lambda expression in java?
What is size () in java?
What is a memory leak in java?
What is method in research paper?