TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MIKE WALKER
from: TIM HUTZLER
date: 1998-04-07 20:07:00
subject: Re: Private / Protected

-=>Quoting Mike Walker to All <=-
MW>Hello All!
howdy!
MW>Something that I am not quite clear on is the difference
MW>between private and protected specifiers within a class.
MW>Can someone explain the difference between these? Also when
MW>would each be used?
It's really easy to understand, Mike.
Private members and data of a class are *only* accessible from that
class only.
Protected members and data are accessible by the primary class, and
any class that descends from it.
In either case the client can not access either private or protected
members and data.
___ Blue Wave/QWK v2.12
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.