Re: Hmmm....I apparently have the wrong idea about extending classes
- From: "Paulus de Boska" <ph@xxxxxxxxxxxxxx>
- Date: 16 Jan 2006 05:49:39 -0800
public members are accessible from any method.
private members only from methods in the same class.
protected members are accessible from methods in extending classes,
subclasses (in addition to methods in the class itself)
package members, when there's no specifier written, are accessible from
methods in classes that are in the same package.
---
Paul Hamaker, SEMM
http://javalessons.com
.
- Follow-Ups:
- Re: Hmmm....I apparently have the wrong idea about extending classes
- From: Torkel Franzen
- Re: Hmmm....I apparently have the wrong idea about extending classes
- References:
- Hmmm....I apparently have the wrong idea about extending classes
- From: Noodles Jefferson
- Re: Hmmm....I apparently have the wrong idea about extending classes
- From: SMC
- Re: Hmmm....I apparently have the wrong idea about extending classes
- From: iamfractal
- Re: Hmmm....I apparently have the wrong idea about extending classes
- From: opalpa@xxxxxxxxx opalinski from opalpaweb
- Hmmm....I apparently have the wrong idea about extending classes
- Prev by Date: Re: Hmmm....I apparently have the wrong idea about extending classes
- Next by Date: Re: Hmmm....I apparently have the wrong idea about extending classes
- Previous by thread: Re: Hmmm....I apparently have the wrong idea about extending classes
- Next by thread: Re: Hmmm....I apparently have the wrong idea about extending classes
- Index(es):
Relevant Pages
|