Question: Lab Description Create a Monster] array to store x number of Monster. Use your monster class you created for lab18 set 1 lab 1. You

 Lab Description Create a Monster] array to store x number ofMonster. Use your monster class you created for lab18 set 1 lab1. You can copy and paste the Monster.java file or Monster.class file

Lab Description Create a Monster] array to store x number of Monster. Use your monster class you created for lab18 set 1 lab 1. You can copy and paste the Monster.java file or Monster.class file into this project folder Sample Output How nany monsters are in the herd?:7 Enter the ht :: 7 Enter th :: 20 Enter the age : 8 Enter the ht :: 7 Enter the wt:: 19 Enter the age:: 58 Enter the ht :: 9 Enter the wt :: 3 Enter the age:: 2 Enter the ht ::7 Enter th :: 20 Enter the age:: 30 Enter the ht :: 2 Enter the wt:: 200 Enter the age:: 800 Enter the ht ::1 Enter the wt:: 700 Enter the age :: 2 Enter the ht :: 10 Enter the wt :: 3 Enter the age ::1 HERD ::(7209. 719 58, 932,72030. 2200 800, 1700 2, 1031] SMALLEST :: 1 700 2 LARGEST:: 10 3 import java.util.Arrays; import java.util.Scanner; import static java.lang.System.* import static java.lang.Math.* import static java.util.Arrays.*; import static java.util.collections.*; public class Monster //build your own Monster class //with methods like isBigger and isSmaller //or use your Monster class from //lab18 lab set 1 import java.util.Arrays; import java.util.Scanner; import static java.lang.System.* import static java.util.Arrays.*; public class MonsterLabRunner public static void main( String args) Scanner keyboard -new Scanner(in); out.print("How many monsters are in the herd? int sizekeyboard.nextInt( Monsters herd = new Monsters (size); for(int i-0; i

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!