I have an interface that extends Serializable,, my query is that when it it extends Serializable, what it try to represent and what additional qualities it acquired...below is the syntax ..
Interfaces can extend other interfaces, just like classes can extend other classes.
When a class implements interface A that extends interface B, that's the same as when the class would implement interfaces A and B directly.
When an interface A extends another interface B, then you can't make a class that only implements A and not B - when the class implements A, it automatically also implements B.
Saral Saxena wrote:my query is that when it it extends Serializable, what it try to represent
It represents an object that can be stored permanently (eg, in a file) or passed over a network as a stream to another JVM.
and what additional qualities it acquired...
See above. If your question is: 'Do I need to do anything extra?', the answer is 'probably not', but you should really read the Java tutorials or get a good book.
Winston
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
a bit of art, as a gift, the permaculture playing cards