How do I change the parameters in question while in Java?
public class Enemy
int ; global variables
variables above, methods below
Enemy
;;;
Enemy int newx, int newy, int newz constructor
newx; newy; newz;
void moveposition int xdif, int ydif, int zdif method
xdif ; ydif ; zdif;
System.out.println Enemy moves to :::;
end of class Enemy
Write one line of code to declare a reference variable named: theenemy
Declare only, do not CREATE the object
correct
Write one line of code to declare a reference variable named: aenemy
AND create the object using the default constructor
correct
Write one line of code to declare a reference variable named: enemyobject
AND create an object using the constructor with parameters
all values for the parameters should be
INCORRECT
Write one line of code to move the object using the variable: enemyobject
On the axis move on the axis move on the axis move
INCORRECT