#Help with coursework concerning interfaces

16 messages · Page 1 of 1 (latest)

dark atlas
#

The first picture includes the task, which I think I have completed the fist part of but I don't quite understand what the second task means by ' declare number of steps in this implementation class to be used in all methods' I welcome any help, I just need a little nudge to understand quite what the task asks of me. What I have done so far is also included so if perhaps, I have not done the first one correctly, help with that is also welcome.

vestal roseBOT
#

This post has been reserved for your question.

Hey @dark atlas! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

wanton charm
#

could number of steps be referring to a field or another part of the assignment ?

dark atlas
#

the third task (that I did not provide here) is simply to write a file that tests these methods so can't refer to that

wanton charm
#

number of steps could refer to a field (that needs to be declared) that is updated each time a method is called.

dark atlas
#

oh yes, I see what you mean now

dark atlas
wanton charm
#

yeah but not the methods but the class itself.

dark atlas
#

ah, right I see so just defining a field number of steps

#

well you did say that hah

#

my reading comprehension is bad

#

thank you

vestal roseBOT
# dark atlas thank you

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.

dark atlas
#

I will close for now and open a new one if I'm stuck again, thanks