The Java training online

Back to the table of contents

Solution: 4. Add instance variables in the tree

Try to work with the helping elements before looking at the solution…

Helping elements

A possible solution

Add instance variables and accessors Terminal output

Back to the table of contents