Добавить
Уведомления

Java Practice It | Self-Check 8.27 mutatorsName | classes, encapsulation, implementing, instance

More practice its: https://youtube.com/playlist?list=PLZPy7sbFuWVgDWN1GImGRm_2Lh6IydaEH Problem: https://practiceit.cs.washington.edu/problem/view/bjp5/chapter8/s27-mutatorsName Question: Add mutator methods called setFirstName, setMiddleInitial, and setLastName to your encapsulated version of the Name class from the last exercise. Give the parameters the same names as your fields, and use the keyword this in your solution.

Иконка канала IT Junction
32 подписчика
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

More practice its: https://youtube.com/playlist?list=PLZPy7sbFuWVgDWN1GImGRm_2Lh6IydaEH Problem: https://practiceit.cs.washington.edu/problem/view/bjp5/chapter8/s27-mutatorsName Question: Add mutator methods called setFirstName, setMiddleInitial, and setLastName to your encapsulated version of the Name class from the last exercise. Give the parameters the same names as your fields, and use the keyword this in your solution.

, чтобы оставлять комментарии