Object with Public Value
Geoffrey Challen // 2021.9.0
Write a method getExampleValue
that, given a passed instance of an Example
, returns that Example
s value
property, which is an Int
.
The Example
class looks something like this:
Write a method getExampleValue
that, given a passed instance of an Example
, returns that Example
s value
property, which is an Int
.
The Example
class looks something like this: