why marker interfaces are there in java
Answer Posted / srinu
when class implements marker interface our class object
getting special behavoiur.
EX:-
suppose our class implements java.lang.Serializible
interface our class object getting special behaviour(our
class object converting java support format object to
network support)
Another Example our class implements java.rmi.Remote
interface our class object acts as Remote object.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the data types supported by java? What is autoboxing and unboxing?
Are arrays primitive data types?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Explain public static void main(string args[]).
What is the use of generics? When was it added to the Java development Kit?
I don’t want my class to be inherited by any other class. What should I do?
What is slash r?
What are the four corner stones of oop?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
How will you get the platform dependent values like line separator, path separator, etc., ?
What is compareto?
How to perform linear search in java?
Is a boolean variable?
What's the base class of all exception classes?
What is meant by interface?