Answered step by step
Verified Expert Solution
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!
//**************************************************************************************************
// 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started