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
Can we access instance variables within static methods ?
What are some alternatives to inheritance?
What is a method declaration?
Can a class be protected in java?
How will you invoke any external process in java?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is data type modifier?
Which package is imported by default?
Can list be null in java?
Can we clone singleton object in java?
What is a lock or purpose of locks in java?
What are the differences between checked exception and unchecked exception?
What is private static class in java?
What is keyword auto for?
State the main difference between c++ and java?