
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
this is java languege code please right it as a code please just code

Transcribed Image Text:QUESTION:
Build a vehicle manufacturing factory.
three types of vehicles are produced in this factory; truck, car and harvester
tractor*.
There must be a place where these produced items are sent to supply according to
their production (e.g, a showroom for the car)
in these, as in every vehicle; engine, undercarriage and wheel productions contain
standards. However, I want you to create these parts with options.
• Remember, for example, the harvester tractor* has its own unique hoe and 2 wheels
on the front. However, the car and the truck are 4 wheels. There is a special
transport panel to be placed on the back of the truck. You must also show them as a
method during production.
Use exception blocks during the production of special parts and reflect the warning
to the producer if an error occurs in production.
After the production is carried out, ensure that the product is supplied in the last
part.
And finally, show another exception that will work actively, so that this exception
works with the following logic;
During the harvester production, maximum 3 pieces can be ordered, if the upper
limit is an order, it cannot be supplied on the same day.
• Use subclass, main class, interface and
abstract class type.
Make methods for every vehicle piece
Make least two exception
• It is important to produce the structure and
basic result. The rest of the design is up to
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 8 steps with 6 images

Knowledge Booster
Similar questions
- C++ LAB HELP!!!I got a bad grade for this C++ lab, and I was wondering what would be the right way to do this while keeping in mind that we cannot use arrays. If anyone knows, please help me as my professor is not responding to my inquiries at this time. THIS IS C++! I asked this question earlier but got the answer in a different language (Java) which did not help me. PLEASE HELP!Function Lab (C++ ONLY!!! NO JAVA OR PYTHON! C++ ONLY!)Sample output: C++ is used for this labHow many boxes do you want to measure? 3 Box 1: Enter height, width, and depth: 3 4 5 Volume for box 1 is: 60 Box 2: Enter height, width, and depth: 1.5 2.4 3.6 Volume for box 2 is: 12.96 Box 3: Enter height, width, and depth: 2 2 2 Volume for box 3 is: 8 Goodbye Instructions: C++ ONLY!!!1. Prototype a double function named GetBoxVolume. 2. Prototype a void function named GetBoxSides. 3. In the main function: a. Ask how many boxes to measure. b. Write a loop to measure that many boxes. c. Inside the loop: i.…arrow_forwardIn JAVA PROGRAMMING please read details on pictures thank you. (You will need to read in the student data first and then read in the scores) You will open each file and read the information into their respective classes/arrays For each student, you will calculate their lowest score, their highest score, their average, and their grade. For each quiz, you will calculate the lowest score, the highest score, and the average You will create and print an Honor Role. The Honor Role comprises students who received an ‘A’ grade. REPORT WILL LOOK LIKE THIS LastName FirstName StudentID Score 1 Score 2 Score 3 Score 4 Score 5 High Low Average Grade High…arrow_forwardcreate a passphrase generator on c++ that follows this. Please make sure the code works on c++ visual studios Diceware™ is a method for picking passphrases that uses ordinary dice to select words at random from a special list called the Diceware Word List. Each word in the list is preceded by a five digit number. All the digits are between one and six, allowing you to use the outcomes of five dice rolls to select a word from the list. Here is a short excerpt from the English Diceware word list: 16655 clause 16656 claw 16661 clay 16662 clean 16663 clear 16664 cleat 16665 cleft 16666 clerk 21111 cliche 21112 click 21113 cliff 21114 climb 21115 clime 21116 cling 21121 clink 21122 clint 21123 clio 21124 clip 21125 clive 21126 cloak 21131 clock The complete list contains 7776 short words, abbreviations and easy-to-remember character strings. The average length of each word is about 4.2 characters. The biggest words are six characters long. The English list is based on a longer word list…arrow_forward
- Pointers and references are fully equivalent True Falsearrow_forwardArrays of objects. Java programming: How to create and work with an array of objects in Java I wanted to know that supppose that I have 100 employees who are paid on an hourly basis and I need to keep track of their arrival and departure times, and I have also created the class Clock to implement the time of day in a program. I also know that I will use two arraays; one called arrivalTime and the other array called departure time. Each of these arrays will have 100 elements and each element will be a reference variable of Clock type.. For example Clock[] arrival = new Clock[100]. My qeustion is how do I create the objects arrival and departure. Then how could I use the methods f the class clokc. Thank youarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY