how a marker interface gets its functionality and when we
implements a marker interface how it got invoked

Answer Posted / bhargavi

The marker interfaces would have got the functionalities
from the super class or interface . Marker interfaces are
called as tagged interfaces which wraps a specific
functionality with its name.It doesn't contains any method.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of an object reference declared as an instance variable?

533


design an lru cache in java?

540


What are the Main functions of Java?

623


What is primitive array?

513


what is synchronization and why is it important? : Java thread

584






What is the preferred size of a component in java programming?

535


How can I right-justify a string?

620


What is exception propagation?

585


Explain about wait() method?

562


How is final different from finally and finalize?

494


Can we create object of inner class in java?

493


is there a separate stack for each thread in java? : Java thread

533


Describe 2 different ways to concatenate two strings.

673


How do you access command-line arguments within the code?

569


Is it possible to compare various strings with the help of == operator? What are the risks involved?

610