?
=?ISO-8859-1?Q?Andreas_R=F8sdal?=
Why do I get a "incompatible types"-compilation error when
casting like this:
opponent = (PlayerInterface)Naming.lookup(url);
The definitions looke like this:
public class Player extends UnicastRemoteObject implements PlayerInterface
public interface PlayerInterface extends Remote
The Player-class implements all functions from the interface...
Thanks,
ANdreas R.
casting like this:
opponent = (PlayerInterface)Naming.lookup(url);
The definitions looke like this:
public class Player extends UnicastRemoteObject implements PlayerInterface
public interface PlayerInterface extends Remote
The Player-class implements all functions from the interface...
Thanks,
ANdreas R.