Question: please help! thanks you very much! //************************************************************************************************** // CLASS: Main //************************************************************************************************** import javax.swing.JFrame; public class Main { public static void main(String[] pArgs) { new Main().run();

please help! thanks you very much!

please help! thanks you very much! //************************************************************************************************** // CLASS: Main //************************************************************************************************** import

//**************************************************************************************************

// CLASS: Main

//**************************************************************************************************

import javax.swing.JFrame;

public class Main {

public static void main(String[] pArgs) {

new Main().run();

}

public void run() {

JFrame.setDefaultLookAndFeelDecorated(true);

View view = new View();

}

}

4.2 4.3 4.4 Write the Java code to declare a new class Bee which is a subclass of Insect. The noise made by a Bee is "Buzz", Write the Java code to declare a new abstract class Amphibian that implements the MakesNoise interface. Write the Java code to declare a new class Frog which is a subclass of Amphibian. The noise made by a Frog is "Ribbet". 4.5 Modify the run0 method of Main and add some Bees and Frogs to critters. Build your program and verify that it works correctly. Include all of your .java source code files in the zip archive that you submit for grading

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!