View Single Post
Old 03-06-2005, 09:11 PM   #4 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
Ok. Got it.

Code:
package Chapter6Project1;

public class ConversionTester
{
    public ConversionTester()
    {
        
    }

    public static void main(String[] args) throws Exception
    {
            Conversion aConversion = new Conversion();
            aConversion.stringToInteger1("5");
            aConversion.stringToDouble1("5.5");
            Integer u = new Integer(6);
            aConversion.wrapperToString(u);
    }
}
I had to put my Integer statement before, and then pass the variable as a variable to the aConversion instead of a straight int variable.

Thanx Bel.
__________________
Network Synapse
Screaming Electron
Kernel_Killer is offline   Reply With Quote