I was given an assignment, but I have no idea how to do it, maybe someone has already done this, could you throw off the code?
Create an algorithm for baristas in the DrinkMaker class.
He will choose the right cup, put the ingredients and pour
liquid. We will also create highly specialized algorithms for tea and lattes,
inheriting them from DrinkMaker.
Seraleksandr4
Level 1
Can u help me?
Under discussion
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
Gellert Varga
5 November 2021, 17:29
What I don't understand at all is how someone who is at level 1 can get such an assignment? From where, from whom?
And why do you need that code?... What's the point of getting it if you will not understand it at all?
0
Seraleksandr4 Java Developer
9 November 2021, 19:10
and it would take a long time to explain where I could get the assignment from. It will be easier if you could help me, I will be very grateful to you
0
Gellert Varga
10 November 2021, 10:32
It also says Level 1 next to your name, and it says Developer.
Both of them are quite strange to me...
But anyway, I don't care.
I have questions to you:
1) do you have all the parts of the complete correct solution?
2) Are you able to run it?
3) Are you able to test?
Insert the following code into main(), run the program, and observe the output. This should help you somewhat.
4) I don't know your level of knowledge, what do you already understand in this program and what don't you? So I don't know how much I have to explain!
(If you expect an explanation from me, I expect honest answers to all my numbered questions first.) 0
Seraleksandr4 Java Developer
12 November 2021, 08:30
I already have this completed assignment with template method only
0
Seraleksandr4 Java Developer
12 November 2021, 08:42
In the first two lines, you create objects that you output below
0