Current Forum: Homework 6 Part 1 |
Date: Thu Nov 29 2001 3:20 pm |
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu> |
Subject: Re: protected inner exception class |
|
|
no it does not.
the inner classes are inherited from the base class if the inner class is declared as a "protected" class.
you WOULD have to redefine the inner classes if the inner class was declared in the base class as "private".
this is the way things get inherited:
base class derived class
private -> not inherited
protected -> protected
public -> public
|
|