Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 1 Forum
Date: Fri Sep 7 2001 12:41 am
Author: Jirawongkraisorn, Sittan P. <spj@andrew.cmu.edu>
Subject: toString()

In the main file, it writes:
System.out.println("expression : "+pn);

Why isn't it pn.toString()?
You cannot print an object of type Node, right?

Also, just for clarification purposes, do we create:
DivNode, FloatNode, PlusNode, MultNode, and MinusNode?
i.e. FIVE files
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
toString()      Jirawongkraisorn, Sittan P.      Fri Sep 7 2001 12:41 am       
Re: toString()      Lee, Peter      Fri Sep 7 2001 9:20 am       
Re: toString()      Chen, Richard      Fri Sep 7 2001 1:37 pm       

Back to previous screen