reserved word "this"


[ Follow Ups ] [ Post Followup ] [ WWWBoard for 308-203A ] [ FAQ ]

Posted by Caroline Viger on September 27, 19100 at 22:28:46:

I don't understand why an object would want to refer to
itself (that's what "this" is for... right?) For
example, in UserIO, what does:
protected UserIO()
{
this (System.in, System.out);
}
do?
Thanks Caroline


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ WWWBoard for 308-203A ] [ FAQ ]