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

How do you empty a list in java?

775


What is class variable java?

797


What are keywords give examples?

819


What must a class do to implement an interface in java programming?

760


what is an objects lock and which objects have locks? : Java thread

794


What are runtime exceptions?

912


What is the difference between an argument and a parameter?

763


Tell me how many ways are there to initialise an integer with a constant.

887


How do you declare a string variable?

758


Can we override data members in java?

900


What is the use of parse function in java?

726


What class allows you to read objects directly from a stream?

1117


What is the difference between the direct buffer and non-direct buffer in java?

807


Can we define private and protected modifiers for variables in interfaces?

834


When should you make a function static?

746