Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 4 General Forum
Date: Thu Oct 11 2001 5:40 pm
Author: Detwiler, Jay T. <jtdetwiler@cmu.edu>
Subject: Re: casting

Peter missed one keyword...you're creating a new Character object. So use the new keyword

HuffmanCharFreq hcf=new HuffmanCharFreq(1, new Character(token.charAt(i)));
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
casting      Chen, Richard      Thu Oct 11 2001 6:55 am       
Re: casting      Lee, Peter      Thu Oct 11 2001 9:09 am       
Re: casting      Detwiler, Jay T.      Thu Oct 11 2001 5:40 pm       

Back to previous screen