What is Marker interface in java? and what is clone?

Answer Posted / gaurav j

How can you serialize an object. The execution must be finished so that results can be serialized. But if execution is finished so will be data. Marking an object will tell jvm to hold data for specified operation and then mark it for garbage collection, just my thought. Please verify.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is externalizable?

609


Write a function to print Fibonacci series and Tribonacci series?

745


What is the largest number a double can hold?

556


What string is utf8?

541


Are private methods final?

477






How does the java compiler work?

522


How do you clear an arraylist in java?

489


Which is faster string or stringbuilder?

512


Convert Binary tree to linked list.

580


What are the Class Libraries ?

587


Explain reverse a linked list recursive java solution?

519


What is the difference between error and an exception?

563


Can we compare two strings in java?

554


what is method reference in java 8?

550


How do you sort an array in java?

531