How to use Getters and Setters in Java | Tutorial

preview_player
Показать описание
This tutorial will elaborate more about getters and setter and bring a clear picture on how to use them in java.
Encapsulation, is to make sure that "sensitive" data is hidden from users. And we use GETTERS and SETTERS to hide this data by providing public 'get' and 'set' methods to access and update the value of a private variable.

I hope you enjoy this tutorial. Show some love by giving this video a thumbs up!
Рекомендации по теме
Комментарии
Автор

i got it a great lesson unlocked by pleasing methodology ! many thanks DzD

habtamusium
Автор

I have no idea what this means lol but I will support anyways ❤️

ProductofGrace
Автор

Wow very informative video ❤️ great job

SmileyQueenlife