Re: About the private member
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Nov 2008 12:10:57 -0800
On Wed, 26 Nov 2008 08:01:28 -0800 (PST), pek <kimwlias@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
OK.. Now I kinda get it. But is there anybody out there that actually
used this type of code? Is it just Java or OO in general? Either case,
where does this help?
see http://mindprod.com/jgloss/scope.html
and follow links to find out all the things you can do.
You might use code like your example in a copy constructor
or a step-up step-down constructor e.g. to convert Dog to Dalmatian or
Dalmatian to Dog.
--
Roedy Green Canadian Mind Products
http://mindprod.com
"Humanity is conducting an unintended, uncontrolled, globally pervasive experiment
whose ultimate consequences could be second only to global nuclear war."
~ Environment Canada (The Canadian equivalent of the EPA on global warming)
.
- References:
- About the private member
- From: pek
- About the private member
- Prev by Date: Re: Convert int to enum value
- Next by Date: Re: java slower than C#
- Previous by thread: Re: About the private member
- Next by thread: SymbolTable and string dictionnary
- Index(es):
Relevant Pages
|