OOP interview questions :- What is the difference between Abstraction and Encapsulation ?

  Рет қаралды 781,126

.NET Interview Preparation videos

.NET Interview Preparation videos

12 жыл бұрын

For more such videos visit www.questpond.com
See our other Step by Step video series below :-
Learn angular tutorial for beginners tinyurl.com/ycd9j895
Learn MVC Core step by step :- tinyurl.com/y9jt3wkv
Learn Data Science in 1 hour :- tinyurl.com/y5o7qbau
Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
Learn Xamarin Mobile Programming Step by Step :- goo.gl/WDVFuy
Learn Design Pattern Step by Step in 8 hours:- goo.gl/eJdn0m
Learn C# Step by Step in 100 hours :- goo.gl/FNlqn3
Learn Data structures & algorithm in 8 hours :-tinyurl.com/ybx29c5s
Learn SQL Server Step by Step in 16 hours:- tinyurl.com/ja4zmwu
Learn Javascript in 2 hours :- tinyurl.com/zkljbdl
Learn SharePoint Step by Step in 8 hours:- goo.gl/XQKHeP
Learn TypeScript in 45 Minutes :- goo.gl/oRkawI
Learn webpack in 50 minutes:- goo.gl/ab7VJi
Learn Visual Studio code in 10 steps for beginners:- tinyurl.com/lwgv8r8
Learn Tableau step by step :- tinyurl.com/kh6ojyo
Many developers are confused between Abstraction and encapsulation. If you see the definitions Abstraction means show only what is necessary and encapsulation means hide complexity which looks almost one and the same. In this video we will try to unlead practically the difference between Abstraction and Encapsulation.
Get our 500 videos from www.questpond.com
We are also distributing a 200 page Ebook ".NET Interview questions and Answers ". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on questpond@questpond.com with the shared link and we will email you the PDF.

Пікірлер: 332
@dnfvideo
@dnfvideo 2 жыл бұрын
Do not miss our Interview Question video series 30 Important C# Interview Questions : kzfaq.info/get/bejne/eLGpoahztdfNeYE.html 25 Important ASP.NET Interview Questions : kzfaq.info/get/bejne/pr6dgMeer7unYJs.html 25 Angular Interview Questions : kzfaq.info/get/bejne/Y9CVotx1r6rXg4E.html 5 MSBI Interview Questions : kzfaq.info/get/bejne/a6toZJiSvafbiYU.html
@wyattzain5486
@wyattzain5486 2 жыл бұрын
You all probably dont give a damn but does anyone know of a method to log back into an Instagram account..? I stupidly forgot my login password. I love any assistance you can offer me
@mauricekaysen9783
@mauricekaysen9783 2 жыл бұрын
@Wyatt Zain Instablaster :)
@wyattzain5486
@wyattzain5486 2 жыл бұрын
@Maurice Kaysen i really appreciate your reply. I got to the site on google and Im in the hacking process atm. Takes quite some time so I will get back to you later when my account password hopefully is recovered.
@wyattzain5486
@wyattzain5486 2 жыл бұрын
@Maurice Kaysen it worked and I actually got access to my account again. I am so happy:D Thanks so much you saved my ass :D
@mauricekaysen9783
@mauricekaysen9783 2 жыл бұрын
@Wyatt Zain you are welcome xD
@osknyo
@osknyo 4 жыл бұрын
Not gonna lie for the first 3 mins I was questioning where this was going. Great vid.
@DeepayanDas24
@DeepayanDas24 4 жыл бұрын
Encapsulation: Data Hiding, Abstraction: Implementation hiding. Eg Getter/Setter methods are used to access encapsulated attribute data, similarly as in this video example calling a public method wherein other private methods would be executed, would be an abstraction.
@zilverman7820
@zilverman7820 Жыл бұрын
No, abstraction is only putting data that are only essential to the object. Encapsulation is data hiding.
@shubhamjain54519
@shubhamjain54519 9 ай бұрын
@DeepayanDas24 is correct
@anoopkar1982
@anoopkar1982 11 жыл бұрын
encapsulation is all about data hiding..... making properites private and making it accessible only through the behavious of the same object.. Thus providing necessary securty to the state of the object.. You cannot miss this point when u differentiate ans and enc.... all other points that you have told i completely agree
@naiche.
@naiche. 7 жыл бұрын
Thank you for this video! TL;DW or for those who still might not understand: Abstraction: The concept of allowing the user of your class to have access to only what they need. (Concept) Encapsulation: The physical code that prevents the user from accessing fields or methods you do not want them to (Actual Implementation) Good example would be if a user is trying to deposit to an account balance. Account balances can't be negative or over 100,000, say. So your add function has a check. A user can circumvent these checks by saying obj.balance = -123; This is bad, so we want to use "Abstraction" to allow user access to only the things we want them to. So we make balance private, and now the user can only add through YOUR function. The act of making the field private and adding a modifier method is "Encapsulation". So as Manoj said, Encapsulation implements Abstraction.
@stannisbarracuda5693
@stannisbarracuda5693 6 жыл бұрын
thanks man perfect explanation i understand
@kanedang5343
@kanedang5343 5 жыл бұрын
You just gave the best explanation through a short and perfect example, thanks!
@selena4082
@selena4082 4 жыл бұрын
thank you so much.
@MCrystalMaidenn
@MCrystalMaidenn 2 жыл бұрын
I still don't understand. So if the user were to say obj.balance = -123, it wouldn't work becuase you have an add function that checks if its negative or over 100k. So in this case, we don't need to use abstraction because the user can't do anything if the given answer is not in the right criteria. Am I right?
@kopilkaiser8991
@kopilkaiser8991 Жыл бұрын
I am regularly watching your videos to get theoretical and practical knowledge on C#. I would say I'm a junior developer coding for years but recently from mid of 2022, I took C# seriously. Your videos are helping me to elevate my understanding much higher, and being able to understand in depth. Thank you for your hard work. I will keep watching, share with others, and share my thoughts on each video unless I'm feeling lazy to comment.
@raushanthakur661
@raushanthakur661 4 жыл бұрын
In more than 20 interview I was asked differences and I never explained. Finally I got, Great man..
@Anmolkumar-ke6oq
@Anmolkumar-ke6oq 4 жыл бұрын
to yr padh leta phle interview k baad hi
@umreddy4855
@umreddy4855 4 жыл бұрын
Thank you. This one video helped more than all the theory stuff I read on abstraction and encapsulation. Keep up the good work. Thanks again.
@ManojDeshwal
@ManojDeshwal 3 жыл бұрын
This video gives the exact clarity what I was looking for. No confusion now between abstraction and encapsulation 🙂👍👍
@shivakumar-ep7gf
@shivakumar-ep7gf 2 жыл бұрын
I seen your Video sir It is understanding Clearly.......
@Nobo_On_The_Rocks
@Nobo_On_The_Rocks 7 жыл бұрын
Yes practically it's very difficult to explain these two concepts, and this is the very basic. So it's important to get a better feel of these, from the beginning. Thanks.
@ianshumansingh
@ianshumansingh 8 жыл бұрын
best video on abstraction,even stack-overflow could not make me understand.. thank u
@iortizvictory
@iortizvictory 11 жыл бұрын
I really love this video. You've really done a brillant job explaining a difficult concept. Great job!
@ganeshchidambaram4452
@ganeshchidambaram4452 3 жыл бұрын
I have seen a number of videos in search of the difference between abstraction and encapsulation but this video is the best and I understood the concept : )Thank you sir.
@wendiilu02
@wendiilu02 9 жыл бұрын
Thank you! I'm a student and this helped me so much understanding what abstraction and encapsulation is.
@akshayr6281
@akshayr6281 5 жыл бұрын
Abstraction is thought process, and Encapsulation is Real Implementation.
@notanonymous3976
@notanonymous3976 3 жыл бұрын
@Jack Wells no it didnt you guys are a bunch of liars
@muhammadwaqas6886
@muhammadwaqas6886 5 жыл бұрын
Thank You soooo much Sir, you have cleared one of my biggest confusion in object oriented paradigm,thank you soooooo much.
@ocsicnarf04
@ocsicnarf04 8 жыл бұрын
my salute! thank you for this simple explanation. I'd say, it's very well explained.
@pramood99
@pramood99 3 жыл бұрын
Perfect and exact explanation. I had too much confusion, now all cleared. Thanks
@avlkanth68
@avlkanth68 2 жыл бұрын
That explanation was really good. Absolutely no confusion! Thank you very much!
@ravikrishna5305
@ravikrishna5305 8 жыл бұрын
And finally i came to know the difference btw Abstraction and Encapsulation.. :) Great Explanation Sir.. (y)
@jeffryjoseph5596
@jeffryjoseph5596 3 жыл бұрын
Thanks for your clarification..i searched the whole internet and i found this video answering my question.
@karumpilhouse
@karumpilhouse 12 жыл бұрын
The best explanation i ever heard... perfect and clear...!
@vijayshrivastava9803
@vijayshrivastava9803 8 жыл бұрын
this video actually made me understand the difference.. superb...
@mukeshtiwari9795
@mukeshtiwari9795 9 жыл бұрын
Great Representation...And Today i get it in the glance of programming word, that how both works...
@HassaanRaza
@HassaanRaza 6 жыл бұрын
THE BEST Explanation, detailed and on point!
@joelgaiciyadu
@joelgaiciyadu 2 жыл бұрын
The last four minutes of the video, was what chnaged my mind. I loved the way you tabled it. Mean explanation. Thank you very much.
@SinghDilip-hz1iq
@SinghDilip-hz1iq 5 жыл бұрын
Now, I've got what's the abstraction n encapsulation.... Really nice video.. thnx
@SaurinVala87
@SaurinVala87 5 жыл бұрын
Best and simplest explanation of attraction and encapsulation.
@soumalyasahoo2664
@soumalyasahoo2664 3 жыл бұрын
It really took a long time to understand the difference between them..they always appeared the same to me..but now...now i understand...thanks
@phanikumar3140
@phanikumar3140 10 жыл бұрын
Thank you very much for the video.. I use to have a lot of confusion between abstraction and encapsulation before. Now it is pretty much clear. Once again thank u :-)
@somesbhowmick2082
@somesbhowmick2082 8 жыл бұрын
Really excellent videos you have created. before you I does not have find such meaning full and clear concept from any other tutorials or videos. Thanks a lot. You really know what actually needs a senior and Junior developer in current days. I purchase your videos and getting preparation on that.
@nagarajumanupuri844
@nagarajumanupuri844 10 жыл бұрын
Thank u so much..... I am one of the developer who will confuse these terms always.. You cleared all my questions
@Ruhinaify
@Ruhinaify 12 жыл бұрын
i was really good... i have never seen somebuddy explaing these concepts that nicely...
@Ravikantsharma01
@Ravikantsharma01 11 жыл бұрын
one interviewer asked me to show the abstraction in coding on a paper , but i failed as i had known only the verbal answer that's it , but this video made my day. thank you a lot.....
@jesusstudentbrett
@jesusstudentbrett 2 жыл бұрын
One word... Excellent!!
@DaBBoSaH
@DaBBoSaH 10 жыл бұрын
wow this is fantastic!! There is also the idea that we can deal with Car regardless of its subtype, whether Ford, or Fiet... that detail can be abstracted away...
@zealoussuresh
@zealoussuresh 10 жыл бұрын
Wow ! Great practical explanation !
@mahendramungamuru9500
@mahendramungamuru9500 4 жыл бұрын
Really beautiful expalination my complete confusion is vanished by this video thank you very much .....:-)
@climatecautious4210
@climatecautious4210 2 жыл бұрын
You freed me of confusions! Great job
@swbharatbansal
@swbharatbansal 6 жыл бұрын
Nice Explanation!!! Thank you for clearing my confusion about this difference,
@aishwaryanand600
@aishwaryanand600 10 жыл бұрын
yours videos are the best video to understand the basics of .NET.Very Good.Keep it up.
@peter1983nabagram
@peter1983nabagram 8 жыл бұрын
Best Explanation I can think off
@devd5820
@devd5820 2 жыл бұрын
what an explanation!! best ever..Shiv Sir is always the best
@ajitkumar15
@ajitkumar15 5 жыл бұрын
Nice video to remove such a confusing topic. Thanks a million !!
@aloktripathi1502
@aloktripathi1502 7 жыл бұрын
Thank you sir, Its very helpful to me and clear the confusion about both very similar topic.
@hafsamalik5219
@hafsamalik5219 Жыл бұрын
You Perfectly clarify my confusion🌼
@anikbutt22
@anikbutt22 12 жыл бұрын
very much clear..awesome session.. thank you alot.
@hellsing357
@hellsing357 12 жыл бұрын
wow the explanation is crystal clear Thank you sir... More powers
@mayurnerkar9682
@mayurnerkar9682 3 жыл бұрын
Sir...! This is *Great* explanation given for those two terms Thank You so much!
@rfdave3980
@rfdave3980 Жыл бұрын
Sir you have made this so clear. Thank you
@moolikethecow1172
@moolikethecow1172 8 жыл бұрын
Very well explained. Thank you!
@joolakataka
@joolakataka 4 жыл бұрын
Cool really simple explanation on abstraction and encapsulation.
@SunilSingh-kc4nh
@SunilSingh-kc4nh 4 жыл бұрын
this was the best way to differentiate Encapsulation and Abstraction
@Sunil.Pal789
@Sunil.Pal789 8 жыл бұрын
excellent video....very easy to understand concept
@EminoMeneko
@EminoMeneko 3 жыл бұрын
Definitions are at 9:43 Not sure I wouldn't need more docs to complete. Nice video thought. Got me closer to understand.
@mcm1024
@mcm1024 12 жыл бұрын
These are great videos. You are a good teacher.
@zuzuba3481
@zuzuba3481 4 жыл бұрын
You are really great bro.. really extraordinary.. I saw lots of others videos.. but you are ultimate...
@psalt21
@psalt21 7 жыл бұрын
Well done! This helped me very much
@vishnukumar-zn6di
@vishnukumar-zn6di Жыл бұрын
Clear and simple, Thank You
@ms.abhasaxena7249
@ms.abhasaxena7249 3 жыл бұрын
Finally, I understood. Thank you!
@avinashtippe1113
@avinashtippe1113 2 жыл бұрын
Simple and clear.. thanks for video
@erfanmoghaddam4491
@erfanmoghaddam4491 5 жыл бұрын
Thanks a lot sir for this very clear explanation!
@silverHawk2001
@silverHawk2001 12 жыл бұрын
Beautifully explained.
@ayeshawaheed8791
@ayeshawaheed8791 3 жыл бұрын
A very useful explanation! Thank you!
@handover007
@handover007 10 жыл бұрын
very nicely explained ..an eye opener..
@prakashpandey1770
@prakashpandey1770 7 жыл бұрын
what i understand:- abstraction: what are minimum functions, and variable should expose to out side of our class. encapsulation : how to achieve this requirement, means how to implement. plz correct me if it is wrong.... ..... as manoj said.
@dnfvideo
@dnfvideo 7 жыл бұрын
Yes Prakash absolutely you are on track.
@DeepakKumar-uz4xy
@DeepakKumar-uz4xy 5 жыл бұрын
Yeah but abstraction achieve by using abstract classes. So abstraction also implementation. Now you are wrong.🙁🙁🙁
@rakeshdas32
@rakeshdas32 3 жыл бұрын
Now way better to understand. Thanks for the video.
@narendarsingh4672
@narendarsingh4672 3 жыл бұрын
Great 👌 no one as you
@prateekpk7240
@prateekpk7240 10 жыл бұрын
Very useful videos! Thanks!
@obaymardini
@obaymardini 9 жыл бұрын
thanks, great demonstration
@rajsoftthink
@rajsoftthink 7 жыл бұрын
Nice explanations and thanks a lot for your effort... :)
@HISUPRIYO
@HISUPRIYO 3 жыл бұрын
One of the best explanation...👍
@syafiighazali
@syafiighazali 2 жыл бұрын
Brilliant explanation, thanks so much 🙌
@MuhammadUsman-rp3ph
@MuhammadUsman-rp3ph 5 жыл бұрын
I appreciate it.. Great explaination
@skeiltte
@skeiltte 8 жыл бұрын
Brilliant explanation! Thank you so much. =)
@kaustavborgohain5161
@kaustavborgohain5161 Жыл бұрын
2022 and this is still the best explanation
@paulofernandoee
@paulofernandoee 2 жыл бұрын
Great vídeo, congratulations
@SwapnilJadhavLive
@SwapnilJadhavLive 2 жыл бұрын
You have helped me clear this concept 🤗
@sumithrapackirisamy7462
@sumithrapackirisamy7462 2 жыл бұрын
Awesome Sir I learned very clearly what exact abstract and encapsulation
@dev_brand
@dev_brand 5 жыл бұрын
Thank you fot the great explanation!
@manishswaminath
@manishswaminath 10 жыл бұрын
Superb !!!!!!!!! cleared doubt of Abstraction and encapsulation ..Really Great Sir..
@mareeduharish
@mareeduharish 11 жыл бұрын
Superb demonstration boss.
@coolsee07
@coolsee07 11 жыл бұрын
very well explained.. thank you...
@andrewg9987
@andrewg9987 8 жыл бұрын
Very nice job!
@anoopchandranful
@anoopchandranful Жыл бұрын
Very nicely explained , thank you sir
@shwetakota
@shwetakota 7 жыл бұрын
Thank you for your videos. much helpful.
@HarishKumar-fg7po
@HarishKumar-fg7po 2 жыл бұрын
Very well explained man
@sbhurke1
@sbhurke1 10 жыл бұрын
Awesome video Find very Useful
@WoundedEgo
@WoundedEgo 12 жыл бұрын
Very clear, thanks!
@wajidsofteng6263
@wajidsofteng6263 3 жыл бұрын
Love from Pakistan sir Out standing you explained it. I really confused in these both.
@ravidas-bg4mq
@ravidas-bg4mq 6 жыл бұрын
good work...sir it shows sharing is caring....keep going
@ramagirisrikanth3583
@ramagirisrikanth3583 7 жыл бұрын
very good example and explanation ! thnk u!
@cvismenu
@cvismenu 8 жыл бұрын
Amazing tutorial
@muralipurushothaman9515
@muralipurushothaman9515 3 жыл бұрын
its very clear, Excellent!!!
@aryankr
@aryankr 2 жыл бұрын
Great explanation 😀
@anandrajput007
@anandrajput007 10 жыл бұрын
nice work...
@khurshidmalik565
@khurshidmalik565 2 жыл бұрын
Thank you so much, Sir. It gives a clear understanding
@prakashpk6311
@prakashpk6311 5 жыл бұрын
Excellent explanation buddy!
@techglobe3911
@techglobe3911 3 жыл бұрын
very well explained Sir
@mphothobakgale7851
@mphothobakgale7851 2 жыл бұрын
Great video. Thank you
C# Delegates explained
8:47
.NET Interview Preparation videos
Рет қаралды 512 М.
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 27 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 114 МЛН
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science
Рет қаралды 838 М.
C# Out parameters Vs REF parameters
6:43
.NET Interview Preparation videos
Рет қаралды 277 М.
Post vs Put
23:43
.NET Interview Preparation videos
Рет қаралды 92 М.
Interface in C#
38:55
.NET Interview Preparation videos
Рет қаралды 161 М.
c# (Csharp) and .NET :- Difference between IEnumerable and IEnumerator.
13:39
.NET Interview Preparation videos
Рет қаралды 492 М.
c# (Csharp):- What is the use of Yield keyword in c# ?
10:35
.NET Interview Preparation videos
Рет қаралды 272 М.
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 27 МЛН