Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android-Developer-Basic/Kotlin-5 homework #39

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

SpiritualAdviser
Copy link

I have created a fuel system for cars, the type of which is installed during assembly. He created a gas station. I tried to follow all the points and stick to the scheme, but I thought for a long time how to make the neck exactly an abstract class as in the diagram and had to add additional functions and variables except open close. The function of filling fuel of the Tank class remains open, I could not solve this problem by adhering to the scheme. However, it is available through car.tankMouth.receiveFuel() I will try to ask this question during the analysis. Otherwise, everything should work, although there are also unnecessary fuel type checks in the code because I adhered to the points of the task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant