/Tag: getter

8.1 What is Encapsulation in Java Tutorial

By |2019-08-01T21:33:17+00:00August 1st, 2019|Java Video Tutorials|

Join the live batch : Recommend Books : 1. Head First Java : 2. Java Complete Reference : Join the live batch : For code click here Encapsulation in Java Binding Data with Method Getters and Setters Data Hiding Encapsulation is one of the four fundamental OOP concepts. Encapsulation is the technique of making the [...]

#6.6 Java Tutorial | Encapsulation

By |2019-04-22T17:49:08+00:00April 22nd, 2019|Java Video Tutorials|

Practical implementation of Encapsulation in Java In this video we will see - Example of Encapsulation - What is Encapsulation - Why we need Encapsulation - Object characteristics - Object knows something with variable - Object does something with method - Getters and Setters - Setting value and fetching value - Running the code - [...]