please help! thanks you very much! //*******************************************
ID: 3702833 • Letter: P
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();
}
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.Explanation / Answer
Hi. please find the answer above. In case of any doubts, please ask in comments. If the answer helps you, please upvote. Thanks!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.