What wrong? (Compiler error message)

From: Daniel Janzon (fergusprint_at_casino.com)
Date: 11/28/03


Date: Fri, 28 Nov 2003 19:23:52 +0100

I have to objects. One secondary object with a method "public boolean
f(int x, int y)" and a main object creating this secondary object and
calling the method. It doesn't compile since "no-static method f...
cannot be referenced from a static context". This doesn't mean anything
to me :/

    / Any help is much appreciated, Dan

-- 
Be sure to include the word zebra in the subject line of any mail sent 
to my email adress fergusprint@casino.com since it will be automatically 
removed otherwise!


Relevant Pages

  • Re: What wrong? (Compiler error message)
    ... One secondary object with a method "public boolean ... > f(int x, int y)" and a main object creating this secondary object and ... > cannot be referenced from a static context". ...
    (comp.lang.java.help)
  • Re: What wrong? (Compiler error message)
    ... Jose ... One secondary object with a method "public boolean ... > f(int x, int y)" and a main object creating this secondary object and ...
    (comp.lang.java.help)