Re: Problems with DecimalFormat

From: jmm-list-gn (jmm-list.AXSPAMGN_at_sohnen-moe.com)
Date: 11/29/04


Date: Sun, 28 Nov 2004 20:59:14 -0700

JS wrote:
> I get the following error when I compile:
>
> Error: cannot resolve symbol
> symbol : class DecimalFormat
> location: class CelsiusToFahrenheit2
>
   You must add (at least):

import java.text.DecimalFormat;

-- 
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Relevant Pages

  • Re: My LogGenerator.java wont compile - too many errors - help
    ... There is no visible constructor for File that has no parameters. ... However I don't think your code will run correctly when you get it to compile. ... The logic in the getLogGenerator factory method is not clear, but what I think you are trying to achieve will create many instances of the class, and so break the singleton pattern. ...
    (comp.lang.java.help)
  • Classpath definition (Oh, bother...)
    ... I'm trying to get an application with multiple classes to compile and ... Where YhdistaRivit is the main class (dependent on IkaRivi, ... just results in the compiler giving "cannot resolve symbol" error msg ...
    (comp.lang.java.help)
  • Re: compilation problem
    ... ImprovedUser.java:23: cannot resolve symbol ... symbol: class UserException ... But when you compile from the "root" i.e. ... Fahd Shariff ...
    (comp.lang.java.programmer)
  • cannot resolve symbol
    ... I'm trying to compile a program called ListQuestions.java ... ListQuestions.java:16: cannot resolve symbol ... symbol: class Questions ... Prev by Date: ...
    (comp.lang.java.help)
  • Re: Compile Error: can not resolve symbol
    ... > I am trying to compile my code. ... > cannot resolve symbol ... > [javac] 1 error ... Prev by Date: ...
    (comp.lang.java.help)