Re: Declaring and Checking Non-Null Types

Isaac Gouy <[email protected]> Wed, 24 Mar 2004 13:58:12 -0800 (PST)
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
> Construction happens in a separate phase. This ensures that the whole
> 
> object is initialized before any code uses it. This ensures that no 
> "funny" behaviour occurs.

So how would I hook up something like this?

void main(String[] args){ 
   let papa = new PPP(parent: ?, child: ?);
   let bambino = new PPP(parent: ?, child: ?);
}

class PPP {
   PPP parent;
   PPP child;
}

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click