Closed EthanTheGoondu closed 3 years ago
In Java, all methods in an interface are implicitly public.
In Java, all methods in an interface are implicitly public.
That's correct. In the exam, unlikely you will be penalized for not knowing that though.
In Java, all methods in an interface are implicitly public.
That's correct. In the exam, unlikely you will be penalized for not knowing that though.
Thanks!
For the question asking to draw the class diagrams, in the answers given to us they indicate that the methods are public when passed on the code they should be package protected:
The question:
The answer:
A ~ should be used, not + right? Is this a typo or is there an explanation for this? Any help is appreciated!