Java - access to variable using methods get и set, private variables

Опубликовано: 12 Октябрь 2024
на канале: AI and beyond
2,647
22

Java - access to variable using methods get и set, private variables


In this video it is show how according to OOP paradigm the one should interact with class / object variables.

It is shown how to define these get() and set() methods on your own manually or let Eclipse do that for you automatically.

In the next video it will be shown how we can specify the values of the variables while we create an object.

Do not forget to subscribe to the channel if you like this video and also visit my web-site http://blog.dataguru.guide


My site - http://blog.dataguru.guide
Twitter -   / f_dmitrijs  
Instagram -   / dmitrijs.f  
Linkedin -   / dmitrijs-finaskins-a69598a5  
Facebook -   / dmitry.finashkin