Question: define this class in JAVA 1. Define a class called Ninja Make instance variables for name, dojoName, and killCount. b. create a static variable for
define this class in JAVA

1. Define a class called Ninja Make instance variables for name, dojoName, and killCount. b. create a static variable for totalKills yet". e, create a detault constructor that defaults name to "No Name d, create to No Name yet'' and killcount 0 for name and a constructor that has parameters that set the value dojo name. This wil also set kiliCount to 0. (name, doloName, kinCount Create accessor methods for all the variables and total Kills e. Create a method that increments killCount and totalKills has more kills, Create a STATIC method that compares 2 ninjas to see who This method will print out the name of the ninja with more kills and what percentage his kill number is from the total kilis
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
