Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!

image text in transcribed

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

// 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7. List behaviors to improve effective leadership in meetings

Answered: 1 week ago

Question

6. Explain the six-step group decision process

Answered: 1 week ago