Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please. Follow all instructions Test File content: emoji1.txt 4 5 clock 4 0 smile frown smile clock 8 15 frown smile clock 3 30 clock

Please. Follow all instructions

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Test File content: emoji1.txt

4

5

clock 4 0

smile

frown

smile

clock 8 15

frown

smile

clock 3 30

clock 12 45

smile

clock 10 20

smile

smile

frown

frown

frown

clock 11 0

frown

smile

clock 7 50

Assignment For this project we will practice using abstract classes and inheritance by creating a hierarchy of Emoji. Here it a UML class diagram that shows the classes we will be creating: Emoji -centerX: double centerY: double -radius: double +getCenterX0: double +getCenterY0:double +getRadius0: double +drawO: void animate0: void ClockEmoji FaceEmoji isWinking: boolean -hour: int -minute: int +draw0: void +animate0: void +draw0: void +animate0: void SmileyFaceEmoji FrowingFaceEmoji +draw0: void +draw0: void

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions