If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification.

Answer Posted / kamlesh yadav

Implementing a java Class with the help of Marker Interface
will inform compiler about specification.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is outofmemoryerror in java?

760


What is nan in java?

750


Explain wait(), notify() and notifyall() methods of object class ?

812


Is finalize() similar to a destructor?

777


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

799


What is difference between core java and java ee?

670


What is difference between static class and singleton pattern?

681


How do I run java on windows?

769


Can we create an object of private class?

736


What are different types of arrays?

740


Which number is denoted by leading 0x or 0x in java?

824


What are the characteristics of Final,Finally and Finalize keywords.

931


Can a static class have a constructor?

752


How do you sort a set in java?

719


Why are global variables used?

712