# 6 Java tutorial | Java Encapsulation

preview_player
Показать описание
This Java tutorial video will cover the concept of Java Encapsulation and Different Types of Access Specifiers in Java. In this Gogetmyguru YouTube video you will learn, what is Encapsulation and Different Types of Access Specifiers used in Java and also the Advantages of Encapsulation in Java.

⏱️TIMESTAMPS⏱️
00:00 Introduction Encapsulation
00:04 Encapsulation and Different types of access specifiers in java
00:56 example for encapsulation in spring tool suit4 ide
01:00 created a package called encapsulation
01:04 created class called Refrigerator
01:44 access specifiers in java
01:48 what is use of this access specifiers
01:56 java we have 4 different types of access specifiers
02:00 first one is private second is protected
02:04 third default or package level and fourth public
02:08 access specifier as public
02:20 protected
02:32 default or package level
02:44 private
05:04 methods called getters and setters
05:08 Getters methods are used to get the value of private data members
05:12 setters will change the value of private data members
06:12 what is the use of this keyword
7:28 advantage of encapsulation is to achieve data security

➤ GET ACCESS TO Gogetmyguru Videos and Materials here!

First of all, thank you for all the support you have given us!

Gogetmyguru Social Media Links:

Please give your valuable feedback in the comment section.

We hope you will find it helpful :)
Рекомендации по теме