I need some one explain to me marker interface and give to me an example in java

Thanks,

A "marker" interface is an interface with no methods and no variables and simply used to "mark" a Class. I don't think an example should be necessary.

Serializable

The serialization interface has no methods or fields and serves only to identify the semantics of being serializable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.