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

define this class in JAVA 1. Define a class called Ninja Make

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!