Discussion Board
Go to the previous messageGo to the following message
Current Forum: 15-211 Main Forum
Date: Fri Sep 7 2001 1:52 pm
Author: Chen, Richard <richardc@andrew.cmu.edu>
Subject: Re: HW1 error

As an aside, Float (capital "F") is a class which has a method toString() ( http://java.sun.com/j2se/1.3/docs/api/java/lang/Float.html#toString() ) to return a Float object as a String instead of using a coctenation to get the class Node method toString to return the String representation of the float variable.

float, (small "f") on the other hand, is a primitive type w/o such methods.

I hope I'm using these terms (type, object, variable) correctly.
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
HW1 error      Scherer, Sebastian      Wed Sep 5 2001 4:08 pm       
Re: HW1 error      Scherer, Sebastian      Wed Sep 5 2001 4:17 pm       
Re: HW1 error      White, David      Thu Sep 6 2001 9:59 am       
Re: HW1 error      Scherer, Sebastian      Thu Sep 6 2001 11:00 am       
Re: HW1 error      Lee, Peter      Thu Sep 6 2001 1:37 pm       
Re: HW1 error      Chen, Richard      Fri Sep 7 2001 1:52 pm       
Re: HW1 error      Lee, Peter      Sun Sep 9 2001 12:53 am       

Back to previous screen