Ninja - spot the errors
public class Ninja {
/* Assume the Enemy class exists and has the required methods. */
private Ninja(Enemy enemy, String alliegence) {
this.alliegence = alliegence;
this.enemy = enemy;
}
void sabotage() {
infiltrate( );
setOnFire(enemy.getLocation());
}
String infiltrate(String who) {
}
{
Nagato nagato = Ninja("Nagato", "Nobunaga");
Momochi momochi = Ninja("Momochi", new Enemy());
}
}