how are marker interfaces working ?
807589Aug 4 2008 — edited Aug 4 2008can we create user defined marker interface ?
Some thing like Serializable.
That is unless and untill a user implements Serializable interface he is not able to store the object to a persistance media.
The compiler shoud show errors if we are not implementing the ''user defined marker Interface'' which is used for some purpose
Something like we should be informing the compiler that if a user is not implementing a ''user defined marker interface'' he is not supposed to use a specific classes or methods in that class
Is it possible?????