newbie can't get first project compiled :)

From: jefry.52 (jefry.52_at_comcast.net)
Date: 07/30/04


Date: Fri, 30 Jul 2004 10:57:28 -0700

OK, i'm trying to teach myself Java with Roger Cadenhead's 'Teach
yourself java in 24 hours- thats 24 1-hour sessions, for me , not
overnight. I can't seem to find the error. Here's the program, HELP-

class BigDebt {
        public static void main(String[] arguments) {
                int debt = 446000000;
                debt = debt / 1440;
                System.out.println(" minute's worth of debt is $" + debt);
        }
}

What did i do? I can't find a syntax error.

determined, but disappointed,
tuxtyro@yahoo.com



Relevant Pages

  • Re: newbie cant get first project compiled :)
    ... I'm also new to Java.. ... > overnight. ... > class BigDebt { ... I can't find a syntax error. ...
    (comp.lang.java.help)
  • Re: question on generics in class type declarations
    ... > Roger Levy wrote: ... In abstract terms, templates are parameterized types. ... > called a specialization of the template, ... Java until now. ...
    (comp.lang.java.programmer)
  • Re: java on SuSE 9.3
    ... >> of Firefox assures me I have java up the wazoo! ...
    (alt.os.linux.suse)
  • Re: check my lotto programs - Lew
    ... Roger Lindsjö wrote: ... Running strings on it does not hint at any java, ...
    (comp.lang.java.programmer)
  • Re: Newbie wants to self-taught java
    ... Roger Lindsjö wrote: ... not a torrent. ... IMHO /Thinking in Java/ lives up to the title, but it is not necessarily the best exemplar of how to think in Java. ... Avoid duck-like imprinting on Bruce Eckel's style, at least until you've read works by the likes of Joshua Bloch, Brian Goetz, Doug Lea, Marty Hall and the other luminaries of Java disquisition. ...
    (comp.lang.java.programmer)