Iam new to this oops concept..i learnt that to access the contents of a protected class either we have call by subclass and another is with in itself.so how can we call a protected class with in class itself..pls do alter this code to call within itself
class snap definition.
data: d type char20 value 'PROTECTED'.
class snap implementation.
data obj type ref to snap.
create object obj.