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

Answer Posted / ravikiran

Marker interface contains no methods.

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we make string upper case or lower case?

602


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

545


Explain the pointers in Java?

598


What is the difference between an if statement and a switch statement?

652


What if I write static public void instead of public static void in java?

583






From the two, which would be easier to write: synchronization code for ten threads or two threads?

619


If you are given the name of the function at run time how will you invoke the function?

690


If we don’t want some of the fields not to serialize how to do that?

567


Can we create object of inner class in java?

497


Why set do not allow duplicates in java?

583


What is autoboxing in java?

612


Write a code to show a static variable?

620


Does java support multiple inheritances?

561


Can we sort hashmap in java?

534


Explain what pure virtual function is?

603