Ivan Polovyi
Aug 12, 2022

--

1. You have to create a new constant in the CardType -> DinaCardType

2. You have to create e new enum for DinaCardType that extends the CardLocoType. The get card type has to return the new card type created in the previous step.

3. Add a list of values of the newly created enum to the streams in the 2 static methods in the interface.

--

--

Ivan Polovyi
Ivan Polovyi

Written by Ivan Polovyi

I am a Java Developer | OCA Java EE 8 | Spring Professional | AWS CDA | CKA | DCA | Oracle DB CA. I started programming at age 34 and still learning.

Responses (1)