what are the other ways to prevent a class from being subclassed. one way is to declare the class fi

  • Thread starter srinivas.veeranki
  • Start date
E

EJP

Roedy said:
I don't understand your benefit. With this convolution what the net
result Who do you include/exclude doing it both ways.

Even if that were true it is too weird and convoluted. Don't do it.

It is exactly as 'wierd and convoluted' as the 'private', 'protected',
'public', and default access control modifiers. People who have that
access can subclass, others can't.
 

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
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top