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
Differentiate between stringbuffer and stringbuilder in java.
How are variables stored in memory?
What is the purpose of a transient variable?
What is the largest data type in java?
What is string [] java?
Is class is a data type?
What is string made of?
What is difference between array and vector?
How can the checkbox class be used to create a radio button?
What is high level language in computer?
What are keywords and reserved words in java?
What is singletonlist in java?
What are namespaces in java?
Explain java coding standards for interfaces?
How do you represent a space in regex java?