Java Interview Question | How To Achieve Encapsulation In Java? | #shorts #kiransir #java

preview_player
Показать описание
Make sure to watch this video until the end as it contains valuable information to help you. If you have any questions, feel free to comment and we'll be happy to provide answers.

𝗚𝗲𝘁 𝗶𝗻 𝘁𝗼𝘂𝗰𝗵 𝘄𝗶𝘁𝗵 𝗺𝗲 𝗯𝘆 𝗷𝗼𝗶𝗻𝗶𝗻𝗴 𝘁𝗵𝗲 𝗳𝗿𝗲𝗲 𝗱𝗲𝗺𝗼 𝗰𝗹𝗮𝘀𝘀 𝗹𝗶𝗻𝗸 𝗯𝗲𝗹𝗼𝘄:

#TheKiranAcademy #shorts #kiransir #freshers #java #encapsulation
______________________________________________________________________________
______________________________________________________________________________

📱𝗖𝗼𝗻𝘁𝗮𝗰𝘁 𝗨𝘀:-
Deccan, Pune :- +91 902 868 2797
Chinchwad :- +91 885 705 5009
Karve Nagar, Pune :- +91 888 855 8802 | +91 888 880 9416

⇛Subscribe to this channel, and press the Bell🔔Icon to get another informative video

📢📢𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝘄𝗶𝘁𝗵 𝗺𝗲

𝙏𝙝𝙖𝙣𝙠 𝙔𝙤𝙪 😇 𝙁𝙤𝙧 𝙒𝙖𝙩𝙘𝙝𝙞𝙣𝙜...

Key Words:
#kiransir #javabykiran #jobs #freshers #placements #salary #javainterviewQuestionsanswers #placementQuestions #besttraining#java #testing
Рекомендации по теме
Комментарии
Автор

What she is mentioning is data hiding, which is a technique we use to achieve encapsulation. Encapsulation and data hiding are different, While data hiding we can use the getters to get the data in the fields and perform the operations related to the data on some other class. Meanwhile in encapsulation we have the operations related to the data in the same class even through if the fields are public

balaganesharuna
Автор

Powerful institutions create from powerful people like Kiran sir

rakeshnaramsetty
Автор

Thank you sir apke shorts bahut ache rahate hain bahut sikhne ko milta Hain ❤

shubhamshiketod
Автор

Thanks for this video sir 🙏 need more interviews like this one

Anand
Автор

Nice explanation in in detail. Oops concepts is very useful

juberpathan
Автор

Encapsulation should be more emphasized on wrapping up the implementation of data members and methods into a single entity (such as class) .. rather than data hiding which all about hiding a data to prevent it from the direct access outside the class in which it is defined (achieved by making a field as private) and providing a controlled/authorised access to that data by using public getter/setter methods ....
And ... We are implementing Encapsulation in every Java Program ..

surya
Автор

Kindly explain jdbc topic as well ..these videos are much more useful

prashantkadam
Автор

Required kiran sir more videos on java

swapnali_latkar
Автор

By declaring variables as a private and method as public also using setter which modifies the value and getter to return the value.

shakibshaykh