Hey buddy.. can you please tell me about the use of marker
interface? And is there any link between marker interface
and factory methods?
Thanks in advance.

Answer Posted / venkat

Marker Inferface doesnt consists any methods
it gives prior intemation to JVM to treat specially

Ex:Serialiazable
singleThread

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write multiple catch blocks under single try block?

558


Difference between nested and inner classes ?

591


What are the new features in java 8?

550


Explain the importance of import keyword in java?

512


What's the difference between an abstract class and interface in java?

540






What is meant by method overriding?

528


Tell me about your ability to work under pressure

1755


Is java a super set of javascript?

568


What is main string [] args?

511


What is method reference in java?

544


Define the term string pool?

565


Can you call a method on a null object?

549


What are predicates in java 8?

519


Can we compare two strings in java?

546


What is exception in java?

556