Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 5 General Forum
Date: Wed Nov 21 2001 10:28 am
Author: Lee, Peter <petel@cmu.edu>
Subject: Re: how do I change an object to which there is no reference??

It's a bit hard to understand the question fully, but based on your attempt to use the statement

this = right;

I would guess that you are trying to make the current object be the right child. This is not usually possible in Java (or in most object-oriented languages), and is one reason why a recursive approach is often used. I will have office hours today at 3:30-4:30, if you'd like to talk about this on the whiteboard...
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
how do I change an object to which the...      Hendriks, Rolf      Tue Nov 20 2001 5:36 pm       
Re: how do I change an object to wh...      Lee, Peter      Wed Nov 21 2001 10:28 am       

Back to previous screen