This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Lab 6 regarding val of IntNumber #3
Answered
by
Troublor
DelusionArun
asked this question in
Q&A
-
|
The skeleton code has private final val, but UML indicates that val is supposed to be public and of type P. I am a bit confused over what the P represents and if the val should be public. |
Beta Was this translation helpful? Give feedback.
Answered by
Troublor
Oct 16, 2021
Replies: 1 comment
-
|
You can always change the field to |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DelusionArun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You can always change the field to
publicas long as you can pass all tests. The UML here is only meant to help you understand the code skeleton. It does not affect your grade since we grade based on the test cases.