Question

how do you create this program? Create a project consisting of four classes. These four classes...

how do you create this program? Create a project consisting of four classes. These four classes will be ProgThree.java, Animal.java, Pet.java, and ZooAnimal.java. You must have these four classes and they must work as it is described in these specifications.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

You must have heard of Eclipse IDE. I am going to show you how it is done in eclipse.

STEP 1.

START ECLIPSE

ApplicationsPlacesEclipse Thu 14:45 27.2℃ 534 1 令49 Eclipse Java- Java - Eclipse File Edit Navigate Search Project Run Window

STEP 2 CLICK ON THE NEW ICON OR GOTO FILE-->NEW--> JAVA PROJECT

Applications ▼ Places ▼ Eclipse ▼ Thu 14:45 27.2℃ 534 令49自▼ Eclipse Java- Java - Eclipse Navigate Search Project Run Window HSTEP 3. SELECT JAVA PROJECT AND GIVE IT A NAME. E.G FourClasses

Applications ▼ Places ▼ Eclipse ▼ Thu 14:45 27.2℃ 図534 Eclipse Java-Java-Eclipse File Edit Navigate Search Project Run WindowApplications ▼ Places ▼ Eclipse ▼ Thu 14:46 27.2℃ 図534 85.9s 114B A 1 令49 New Java Project File Edit Navigate Search ProjectSTEP 4. SELECT THE src FOLDER AND RIGHT CLICK --> SELECT NEW---> SELECT CLASS

Applications ▼ Places ▼ Eclipse ▼ Thu 14:48 27.2℃ 図534 Eclipse Java- Java-Eclipse File Edit Source Refactor Navigate Search PApplications ▼ Places ▼ Eclipse ▼ Thu 14:57 27.2℃ 図534 1 令49 New Java Class File Edit Source Refactor Navigate Search Pro Jav

STEP 5- WRITE DOWN THE CODE INSIDE THE CLASS

ApplicationsPlaces Eclipse Thu 14:58 27.2℃ 534 1 令49 Eclipse Java - Java - FourClasses/src/ProgThree.,java - Eclipse File EdiSTEP 6. RIGHT CLICK AGAIN ON THE src FOLDER AND CREATE AS MANY CLASSES YOU LIKE.

HOPE THIS HELPS

Add a comment
Know the answer?
Add Answer to:
how do you create this program? Create a project consisting of four classes. These four classes...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • We are going to create a few different classes in this project. I will supply one...

    We are going to create a few different classes in this project. I will supply one of the classes: Pound (as in a pound for animals). Your goal will be to create proper Dog and Cat classes that will work in conjunction with this Pound class. Before starting to the design process for the Dog/Cat classes, carefully inspect this code. Get an idea of the goal of the Cat/Dog classes. How many fields will they store? What will the constructors...

  • JAVA program For this project you are to create an array of objects of your choice...

    JAVA program For this project you are to create an array of objects of your choice using java your Driver Class, Object Classes should all be named appropriately depending on what Classes and Objects you decide to create for this assignment. This project must give the user the ability to view and to change the elements of the array. Print your results (output) as a clear and informative statement. Your output should also include an explanation of what your program...

  • write in java and please code the four classes with the requirements instructed You will be...

    write in java and please code the four classes with the requirements instructed You will be writing a multiclass user management system using the java. Create a program that implements a minimum of four classes. The classes must include: 1. Employee Class with the attributes of Employee ID, First Name, Middle Initial, Last Name, Date of Employment. 2. Employee Type Class that has two instances of EmployeeType objects: salaried and hourly. Each object will have methods that calculates employees payrol...

  • C++ PROGRAMMING: Create a program that includes three classes called automobile, frame, and tires. Each of...

    C++ PROGRAMMING: Create a program that includes three classes called automobile, frame, and tires. Each of these classes must do the following: Frame Class: Store the data for the size of the frame (tiny, medium, big) The condition of the frame (bad, decent, good) The number of tires it can fit. The number of tires it can fit directly depends on the on the size of the automobile. If the automobile is small, it will have three tires. If it...

  • Create a new project and call it Pr8. The project shall have two classes, MainClass and...

    Create a new project and call it Pr8. The project shall have two classes, MainClass and Person. Person shall have the following data membersfirstName, lastName, and id. Create two person objects, you may hard code the data instead of using a Scanner. After the Person objects are created display the data to the console. Turn in the java file and a screen shot of the results.

  • PLEASE DO THIS IN PYTHON!! Classes/Methods: Kenmore has contacted you to help them create a class...

    PLEASE DO THIS IN PYTHON!! Classes/Methods: Kenmore has contacted you to help them create a class for their newest washing machine. Write the “WashingMachine” class that has the following specifications: Attributes (should be invisible to users): Amount of water (number) Minutes left (the number of minutes left in the cycle) Water level (number indicating how many quarts of water are in the machine CLASS DECLARATION AND ATTRIBUTES ONLY (5 points):

  • create a program that uses multiple inheritance by creating two base classes in C++ - an...

    create a program that uses multiple inheritance by creating two base classes in C++ - an Alien class and a Soldier class. -create three child classes from the Alien class and three child classes from the Soldier class. -use multiple inheritance to create five unique classes that each have a child Alien class and a child Soldier class as parents. -have the program print out each of the five class's characteristics when objects are created from the grandchildren classes.

  • There are a sotall of five classes and one enum required for this project. Over the...

    There are a sotall of five classes and one enum required for this project. Over the course of the projeet, it is important that you pay attention to how different responsibilities are separaled between the classes and how they work in coejuncticn to handle a probiem A quick list of the necessary items for this peogram are HotelManagement Class This is the driver class foe your peogram It will cntain a methed for setting up an initial hotel and the...

  • Project overview: Create a java graphics program that displays an order menu and bill from a...

    Project overview: Create a java graphics program that displays an order menu and bill from a Sandwich shop, or any other establishment you prefer. In this program the design is left up to the programmer however good object oriented design is required. Below are two images that should be used to assist in development of your program. Items are selected on the Order Calculator and the Message window that displays the Subtotal, Tax and Total is displayed when the Calculate...

  • *USE JAVA In this project you will create program that calculate the number of times every...

    *USE JAVA In this project you will create program that calculate the number of times every word appears in a given text file. Your program will take in the name of the file as well as the number of threads to create to speed up the process. The numbers of threads must be greater than 0. The output will be saved into a file in alphabetical order. Besides creating the program itself, you are to run experiments to show how...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT