WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT
INTERFACE THEN WHY WE USED IN JAVA?

Answer Posted / ravi

Interfaces without any methos or constants are known as
Marker interface.They are used only to mark or tag a
class.it indicates that class supports that functionality.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you add an element to a set in java?

495


Explain the private protected method modifier?

540


What is primitive array?

513


Break statement can be used as labels in java?

549


What is the parse method in java?

559






What are methods?

546


What is an interface in java? Explain

567


What is difference between static class and singleton pattern?

475


Can I import same package/class twice?

488


What is the order of arraylist in java?

603


What is nextline method in java?

551


Can we have more than one package statement in source file ?

583


Give me example of derived data types.

585


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1593


Is java util list serializable?

529