Discussion Board
Go to the previous messageGo to the following message
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
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
protected inner exception class      Dozzi, Giancarlo      Wed Nov 28 2001 5:40 pm       
Re: protected inner exception class      Cipriani, Jason A.      Thu Nov 29 2001 3:20 pm       
Re: protected inner exception cl...      Shi, Ying      Thu Nov 29 2001 4:43 pm       

Back to previous screen