Marker Class

J

jeffc

Amrith said:
Hi ,

Can anyone explain me, What is a Marker class ?

I have heard of it used as a class that is only intended to be derived from.
Not that it is necessarily an abstract class (or at least that's not the
point), but that it can be used as a "type" for referring to all the
subclasses. In other words, it "marks" all the derived type object with a
label, of sorts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,162
Latest member
GertrudeMa
Top