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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / vijayakumar chinnasamy

Every marker interface has some specific functionality and
no methods in that interface.

Ex:
Searializable - Persistent purpose
Clonnable - for cloning the object
SingleThreadedModel - only one object can be create.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the Static and Dynamic Variables? Differentiate them.

0 Answers   CGI,


What is numeric promotion?

1 Answers  


write a class to input 2 points by the user & check the line maked by the points is horizontal,vertical or rectangle?

1 Answers  


How do u pass data from one jsp to another jsp?

3 Answers   Fidelity,


What is the maximum size of array in java?

0 Answers  


What is prefix of a string?

0 Answers  


Explain about serializable interface in java?

0 Answers  


what is interface in java? Explain

0 Answers  


What is a function in programming?

0 Answers  


What is core java called?

0 Answers  


What is size_t?

0 Answers  


How many bits is a float?

0 Answers  


Categories