If there is no implementation of MARKER INTERFACE in java.
Then how compiler come to know about specification.
Answer Posted / 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 View All Answers
What about main() method in java ?
What is a class variable?
What is difference between module and function?
What is meant by collection in java?
What is bubble sort in java?
Is oracle java 11 free?
Can we write any code after throw statement?
What is the difference between hashmap and hashtable in java?
What is downcasting?
What is int argc char * argv?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is starvation?
What is the purpose of the System class?
What does system out println () do?
What happens when a thrown exception is not handled?