Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Object Oriented Programming - Polymorphism with abstract Create a complete program with full programming code. Project: Covid-19 vaccine program Superclass Vaccine Attributes: -developer //e.g.

image text in transcribed
image text in transcribed
Java Object Oriented Programming - Polymorphism with abstract Create a complete program with full programming code. Project: Covid-19 vaccine program Superclass Vaccine Attributes: -developer //e.g. Prizer, Moderna, Sinovac -originCountry //e.g. US, Russia, China Methods: +Normal constructor tsetter, +getter,+toString +calPrice //Abstract method header Subclass mRNA-V Attributes: -vaccine Type //e.g. RNA, inactivated, non-replicating -storage //e.g. -70C, 2C -orderUnit //e.g. 1500pc, 500pc Methods: +Normal constructor +setter, +getter, +toString +calPrice // RNA = RM10 1pc, inactivated = RM8 1pc, // non-replicating = RM6 1pc Subclass Sputnik-V Attributes: -vaccine Type //e.g. RNA, inactivated, non-replicating -orderUnit //e.g. 1500pc, 500pc Methods: +Normal constructor +setter, +getter, +toString +calPrice // RNA = RM10 1pc, inactivated = RM8 1pc, // non-replicating = RM6 1pc The things inside application file: 1. Declare and create an array of objects to store five (5) data under mRNA-V and five (5) data under Sputnik-V then input the objects using polymorphism concept. 2. List vaccine information that required storage -70C. 3. Display the total price for the mRNA-V vaccine

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

Step: 3

blur-text-image

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

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

3. Influencing people to willingly follow that direction?

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

LO4 Specify how to design a training program for adult learners.

Answered: 1 week ago