Good I have a doubt about how I see that sometimes they declare variables in a way that I never saw, that is, I am used to declare variables of type: int
, String
, double
, long
, char
, float
, etc.
But I do not understand when they declare like this:
Codigo codigoDeSeguridad;
jugador jugador1;
because if I put it in eclipse I get an error.
I do not know if that is called an interface, and if so, what is an interface in java?