Steve Cohen <[EMAIL PROTECTED]> writes:

> //file b.java:

[...]

>    public void doSomethingWithAPoint (Point pt) {  // fails to compile
>       return A.doSomethingWithAPoint( pt );
>    }
>    public void doSomethingWithAnInt  (int i)   // compiler accepts.
>         return A.doSomethingWithAnInt(i);
>    }

You must be in an even bigger hurry then before: the second method
lacks a crucial "{", and both methods returning void return non-void
values.

Seriously, after correcting these in the most obvious fashion, the two 
files compile fine on my computer.

My suggestion to you is to recompile everything, like "javac a.java
b.java".

-- 
[If you post a response, no need to cc me; if you cc me, please say so.]
"It does not work" is not a problem statement.  It is a whine.

Reply via email to