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

How list contains works in java?

558


What is use of arraylist in java?

581


What is parsing a sentence?

549


What is the largest data type in java?

510


How to call one constructor from the other constructor ?

606






How many types of methods are there?

549


What does microservices mean?

535


Explain differences between collection api and stream api?

612


Is integer immutable in java?

549


What is the difference between jdk, jre, and jvm?

573


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

596


Which is fastest collection in java?

566


What are green threads in java?

555


What does flagged out mean?

575


Explain the access modifiers for a class, method and variables?

662