Kotlinlearncs.online LogoJava
Return to List

Homework: Object with Public Value

Created By: Geoffrey Challen
/ Version: 2021.9.0

Write a method getExampleValue that, given a passed instance of an Example, returns that Examples value property, which is an Int.

The Example class looks something like this:

Related Lessons

Stuck? You may find these lessons helpful: