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

Is main a keyword in java?

0 Answers  


Explain the private protected method modifier?

0 Answers  


transaction attributes ?

2 Answers  


What an i/o filter in java programming?

0 Answers  


What is time complexity algorithm?

0 Answers  






Can Anybody tell the diff b/w jdk1.6 and latest version.

2 Answers  


What are the important methods of java exception class?

0 Answers  


Is java a compiler?

0 Answers  


How to find the given number is a prime number or not by getting input from the user

0 Answers  


What is a two-pass assembler?

0 Answers   Syntel, Visa,


What do you understand by classes in java?

0 Answers  


What is the purpose of the enableevents() method in java programming?

0 Answers  


Categories