Part 3 Why and when should we use an abstract class

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025

Комментарии • 440

  • @irinamurmur
    @irinamurmur 7 лет назад +104

    Venkat, you are a perfect tutor, thank you very much for these courses! When I surf the site to look for some special theme and find your videos, I prefer to see them at first.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  7 лет назад +21

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/kudvenkat_dvd.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

    • @EriAirlangga
      @EriAirlangga 6 лет назад

      Where are you in the UK?

  • @parijatsaxena9078
    @parijatsaxena9078 5 лет назад +52

    5 years later, this is still the best video there is for a thorough explanation of abstract classes and their need. Venkat you will forever remain the C# God!

    • @praveenkumarp2322
      @praveenkumarp2322 3 года назад +1

      👍

    • @ayushk1111
      @ayushk1111 3 года назад +4

      7 years later as of now.

    • @louieee8167
      @louieee8167 3 года назад +2

      I am few hours away from my technical interview as of now, this will surely help me a lot. Will get back here, if i got hired :)

    • @gladiumcaeli
      @gladiumcaeli 3 года назад

      @@louieee8167 and......?

    • @louieee8167
      @louieee8167 3 года назад +1

      @@gladiumcaeli Update: i was hired but not thru these tutorials. because they suprised me with data and algorithms question, not object oriented concepts questions. But the language that i will be using is c# and i need to pass the c# training to get permanent employment status. I will browse thru all of these videos and will get back here again if i passed the c# training and got permanent employment status :)

  • @swimtlvmitnovizki6895
    @swimtlvmitnovizki6895 9 лет назад +36

    I can't thank you enough!
    You are THE BEST teacher I've ever faced.
    This C# lectures, you are giving, help me so much in my work.
    Send you my endless admiration.

  • @hongcai4617
    @hongcai4617 3 года назад +1

    The best among all others even its made 9 years ago.. for those who haven't coded a lot this is a very easy to understand version! one more sub for u. I am learning Java and when it comes to that part 16:00 "why we add 'abstract' because 'BaseEmployee' doesn't exist" ,I suddenly got enlightened!!!! very very good tutor! logic is so clear and example's very coherent

  • @hisdness1
    @hisdness1 5 лет назад +3

    This is the GOAT of all the tutorials on abstract classes! Thank you!

  • @missndshah
    @missndshah 9 лет назад +32

    Finally! Finally someone gave me explanation that makes sense!

  • @assiameade1889
    @assiameade1889 9 лет назад +15

    Eternally grateful to have found this video! Your explanations are clear, concise, and very well executed. Kudos!

  • @Test-rs2qy
    @Test-rs2qy 8 месяцев назад

    After 7 Years, this is still the best video there is for a thorough explanation of abstract classes and their need.

  • @akarsh6856
    @akarsh6856 2 года назад

    Eleven years and you are still helping!!!
    long live

  • @imraneyubov1
    @imraneyubov1 3 года назад +4

    9 years later and this video is still relevant, amazing.

  • @joeMsessions
    @joeMsessions 6 лет назад +1

    This isn't just help for an interview. This is basic stuff that should've been more clear on my training. That was tremendously helpful.

  • @MoviesVisionRecapOfficial
    @MoviesVisionRecapOfficial 7 лет назад

    I recommend everyone to learn c # with you.
    I did not know this language at all, and now I'm going to take a resume at a company. Thanks to the knowledge I have gained from your videos!
    For half a year I learned from you.

  • @cyberwomen9386
    @cyberwomen9386 2 года назад +2

    I would say this is the best explanation of Abstract I've ever watched! I am so happy that I found your channel. I'm pretty sure that who watches your videos they'll subscribe at your channel not waiting the end of play.

  • @gmarifislam4312
    @gmarifislam4312 5 лет назад

    Man! God bless you! Crystal Clear Understanding! Not everyone can be a good teacher. Knowing to teach is a skill hard to earn! Good job!

  • @basavanagoudahosamani3701
    @basavanagoudahosamani3701 3 года назад

    Venkat, 15:05 goosebumps feeling when you actually explained everything why we wanted to use abstract class.

  • @umerwaqas5943
    @umerwaqas5943 3 года назад

    I think dislikers are only haters, when cant compete then only bark from distance.
    Sir venkat i am thankful from depths of my heart. Learnt a lot from you and now i am good paid software engineer.

  • @muthukumar8844
    @muthukumar8844 6 лет назад

    I got stuck in why we using abstract class in c# for a long days.but after watching this tutorial i have caught the real idea of abstract class.really its an amazing tutorial.Thank you very much

  • @waseemmehmood5685
    @waseemmehmood5685 7 лет назад +2

    Man this is the best explanation I could ever find on youtube, thanx alot :)

  • @aerofred2002
    @aerofred2002 3 года назад

    I watched an hour video on this subject and it left me even more confused but this guy helped me get it in 10 minutes. Great job.

  • @clandestine1699
    @clandestine1699 7 лет назад

    Thank you very much. I have been trying for days to understand why and when you would use an abstract class and you were so clear and concise that I got it immediately. The best tutorial I have ever seen on this subject!

  • @CAPS_AMERICA
    @CAPS_AMERICA 5 лет назад +3

    You sir, are so good at teaching these programming concepts and making tutorials a breeze to learn. Keep up the wonderful work! Thanks!

  • @adityar6511
    @adityar6511 2 года назад

    My classmate shared this, and I can't regret any less. Beautiful explanation

  • @jasper5016
    @jasper5016 4 года назад +1

    Man, I have never understood this concept better. Thanks a lot for making it so simple.

  • @mamta5958
    @mamta5958 6 лет назад

    Tried to learn abstract class from many other sources... But none of them could explain it better than you... Thanks a lot!

  • @owaisshahab720
    @owaisshahab720 4 года назад

    Simple Explanation + Practical Code + Very Good Accent to understand, Thanks Kudvenkat May God Give you best reward for sharing this all information free to us.

  • @ishtiaqueirteza1117
    @ishtiaqueirteza1117 6 лет назад

    You are the best teacher i've seen in youtube !!

  • @mitchell2719
    @mitchell2719 9 лет назад +1

    Oh I see, use abstract classes for abstract CONCEPTS. That's way better than what my prof taught us. thank you so much!

  • @articgoneape
    @articgoneape 4 года назад

    This was by far the best explanation of abstract classes I have seen. I have been watching Pluralsight, Udemy and other RUclips videos and this video made the most sense.

  • @Taril69
    @Taril69 Год назад

    Your video is 10years old but it still provides help for us who are trying to learn the langugage. I liked this explanation very much. Thank you! I have been trying to understand abstract for 2days. now i finally understands it.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Very good answer Gaurav. Thank you very much for taking time to answer this question. Keep up the good work of helping others. As, I am receiving lot of questions everyday from our youtube users, I am finding it extremely difficult to answer all the questions in time. With your help I am confident, we will be able to answer most questions in time. Appreciate your time and effort. God bless you.

  • @aniruddhabasak7441
    @aniruddhabasak7441 4 года назад +1

    Sir, your teaching skill is so good that I can watch your tutorials all the day without getting bored.
    God bless you.

  • @mariapradeepm
    @mariapradeepm 7 лет назад

    One of the best video i have seen so far in explaining the use of abstract class. Awesome Venkat, You are great.

  • @pankuang5669
    @pankuang5669 2 года назад

    The best tutor on RUclips,
    thank you very much for this video and excellent explanation. This is even helpful for my leaning of Java .

  • @lightwavelibrary
    @lightwavelibrary 10 лет назад +1

    I really enjoyed this type of video tutorial. It not only clearly demonstrates what the differences are, but it illustrates why you do abstract versus concrete and how override comes into play in the grand scheme of class structures. I'm very impressed. Be careful not to make programming to much fun. :) Again, thank you for the quality video. Two Thumbs Up!

  • @vivek01071990
    @vivek01071990 6 лет назад

    Omg..This is an awesome explanation with an example..No one can explain better than this...kudos..keep posting..

  • @niaja1984
    @niaja1984 6 лет назад

    Thank you so much for making C# so simple! I'm studying for a C# bootcamp assessment and your videos are truly a blessing! Thank you so much!!!!

  • @jcalbores9358
    @jcalbores9358 5 лет назад

    I already graduated in my bachelor, but this is the very first time someone explained, in details and with realistic sense, the reason why to use abstract classes. I never thought that it works that way. Thanks!! Cheers from 2019 😄

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 лет назад

      Hello Albores - You are very welcome and thank you very much for the feedback. Very glad you have found this video useful. Good luck and all the very best with everything you are doing.

  • @saurabhchauhan232
    @saurabhchauhan232 11 лет назад

    Sir I learn so many things from your tutorials and selected in a company Thank You ..God Bless You .......Your teaching skill is awesome..

  • @ajgor64
    @ajgor64 4 года назад

    I finally understood what the abstract class is. The best tutorial abot it!!! Thank You.

  • @momen153
    @momen153 10 лет назад +11

    Full Respect to you my teacher

  • @rezaghochkhani8505
    @rezaghochkhani8505 6 лет назад

    This is an excellent video and I would like to add some extra info to it:
    Q- Under what circumstances we might want to add a non-abstract method to an abstract class?
    A- when we do not want to force ALL child classes to implement a certain method. For example imagine we have a daily worker and he is just going to work for a week. For those kind of workers we can still use the base employee class but we do not have any method called monthlySallary, but if monthly salary is marked as abstract, the daily worker must implement it as well.
    Q- why are we allowed to define a body for non-abstract methods in an abstracf class? Afterall we are not able to create an instance of abstract class so how can we use that code?
    A- True, we cannot create an instance of an abstract class to access it's non-abstract methods, but it's children do using base keyword. Imagine that we have 4 identical lines of codes in ContractEmployee.MonthlySalary and FullTimeEmployee.MonthlySalary.
    Instead of just duplicating those codes in both child classes, we move them to the parent (the body of a non-abstract or even an abstract method) and then use base keyword to run those codes before running child class specific codes.

  • @Gameplay99873
    @Gameplay99873 5 лет назад +1

    This is the best way of conveying the use of abstract class. Thank you so much Sir.

  • @Chris-jg8gk
    @Chris-jg8gk 7 лет назад +1

    You're awesome buddy, all of your videos are helping me a lot. I've been a coder for a long time but haven't managed to master OOP. This will help me finally get a job.

  • @hariprakashrajput4955
    @hariprakashrajput4955 6 лет назад

    Lot of thanks Venkat for presenting DI in very descriptive and easy way.

  • @theITvideos
    @theITvideos 8 лет назад +1

    Man you are a true gem and a wonderful teacher! God bless!

  • @radhianand5647
    @radhianand5647 2 года назад

    Never seen this perfect kind of explanation... Thanks a lot for your effort..

  • @sivachitikela957
    @sivachitikela957 7 лет назад

    Ur teaching understands lower & higher persons .....great sir....👌👌👌👍👍👍

  • @ghnanahita
    @ghnanahita 9 лет назад +6

    Best explanation ever, Thank you so much, you are a great teacher

  • @deeqMaadey
    @deeqMaadey 10 лет назад

    The best topic video explanation I have ever seen. Well done.....All THUMPS UUUUUUPPPPPPP.

  • @kevinmarmet
    @kevinmarmet 2 года назад

    I mean wow. Perfect explanation answered my questions while they were still forming in my mind. Well done!

  • @kcproduction1457
    @kcproduction1457 Год назад

    Finally my doubt is cleared regarding the use of abstract class. thank you so much Venkat

  • @ckbapps2009
    @ckbapps2009 8 лет назад

    I am a new PHP programmer and learning abstract classes but this video session clears my doubts and also let me know when and why we use abs.class.

  • @MultiMonalisha
    @MultiMonalisha 5 лет назад

    I can watch your videos whole day without getting bored !! explanations are just perfect . :)

  • @nas1523
    @nas1523 9 лет назад +1

    Very well explained! Simple and straight forward. Keep up the good job

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Sure Pavan, will do it very soon.

  • @pkarthika6110
    @pkarthika6110 7 лет назад

    you are a superb Teacher, its like telling story to the the nursery kids . An excellent tutorial on Abstract

  • @socishe
    @socishe 11 лет назад

    Thank you very much you are a life saver, when I finished my degree I won't forget you

  • @kedarnadkarny4718
    @kedarnadkarny4718 7 лет назад

    Best example of abstract class. Understood everything. Other websites give an example of cats and dogs. We need code here!

  • @shaunhall7894
    @shaunhall7894 6 лет назад

    Someone recommended this video from SoloLearn. Well explained. Thank you. Watching all your vids now.

  • @dwlg
    @dwlg 10 лет назад

    Thanks Kudvenkat, very well spoken and clear, this video is a great tutorial to help you understand the use of abstract class in the c# object orientated programming language. I salute you good sir!

  • @florindobinciuc
    @florindobinciuc 3 года назад

    Man, you are unbelievable. Thank you very much for help!

  • @erikagiraldo6088
    @erikagiraldo6088 8 лет назад +4

    Great tutorial. I really enjoy watching your videos. Thank you so much!

  • @mohinderlamba
    @mohinderlamba 11 лет назад

    As usual you do a fantastic job of explaining a concept. I have always needed examples when learning a concept and you do that. Thank You.

  • @ripallad3232
    @ripallad3232 4 года назад

    Awesome explanation.. I never seen such a simple explanation for abstract class. Thank you very much.

  • @talkdeepak
    @talkdeepak 11 лет назад

    Hi Venkat, thanks a lot for a very good explanation.Really appreciate your endeavours.

  • @JM-ly1vc
    @JM-ly1vc 2 года назад

    What an outstanding explanation. Great job!

  • @mdfiroz2415
    @mdfiroz2415 4 года назад +1

    Crystal clear explanation.

  • @zunaidhossain872
    @zunaidhossain872 3 года назад

    Thank you, sir...
    I think you are the best Teacher in the world.
    keep it up....
    Love you from Bangladesh....

  • @prasum2004
    @prasum2004 7 лет назад

    U r best teacher of c#.Thank you so much for nice tutor.

  • @venkatasaiamulyapamidimukk5024
    @venkatasaiamulyapamidimukk5024 9 лет назад +1

    Thanks a lot for your videos. I did not get this much clarity in any of the blogs. thank you so much for all of your videos

  • @Mr-Watror750
    @Mr-Watror750 5 лет назад +2

    Perfect Tutorial Sir very straight forward 👍😉 Thank you for this

  • @sahilarora8667
    @sahilarora8667 9 лет назад +3

    Very well explained...Awesome ..Thank You so much for sharing this wonderful video.

    • @sahilarora8667
      @sahilarora8667 9 лет назад

      Thanks for sharing the info.will definitely let you know in case I need anything. Thank you once again

  • @seosunshine335
    @seosunshine335 6 лет назад

    Wow Pragim, you did it again. Excellent video!

  • @trustingod0
    @trustingod0 4 года назад

    Microsoft should hire you since you are a brilliant instructor. Thanks !!!

  • @aaqilansari5702
    @aaqilansari5702 11 лет назад

    Hello Venkat, i know how much great pleasure it gives to get likes on our work. i'll alwayz keep dat in mind to hit thumbs up on ur posts. so dat it should motivate to keep on doing the great job. Tons of thnx.

  • @roseblade1979
    @roseblade1979 5 лет назад

    Thanks for this video. The first time I got an explanation that made me understand what abstract classes are all about.

  • @ssjxn
    @ssjxn 11 месяцев назад

    Perfect video .. for those who just want a short answer , Abstract classes are used in case you don't want it to be instantiated

  • @alshezawi2010
    @alshezawi2010 5 лет назад

    Oh god, finally I understand abstract classes l. You are the best

  • @Phantom1037
    @Phantom1037 2 года назад

    This is a very clear explanation of a hard concept to understand at first, Thank you very much

  • @ferrarikarthik1
    @ferrarikarthik1 5 лет назад

    Namaste Venkat...your videos are awesome..it's helping millions of developers....thanks a lot for all your videos

  • @jonreyes7271
    @jonreyes7271 9 лет назад +3

    Excellently explained and demonstrated. Thank you!

  • @techtalk1773
    @techtalk1773 8 лет назад

    You make me enough capable in the IT industry. have no words how i can give you a big thank

  • @thegoldengirlofficial
    @thegoldengirlofficial 5 лет назад

    Best tutorial to understand the concept of the Abstract class. I loved it the most:)

  • @ganesanr8834
    @ganesanr8834 7 лет назад

    Nice article, superb explanation

  • @Dtrump2444
    @Dtrump2444 6 лет назад

    Venkat sir thanks a lot ..because of you I learnt a lot of concepts ..full programming skills ..thanks

  • @sanuma02
    @sanuma02 8 лет назад

    Best clear explanation ever on this topic!

  • @saranyasaran1916
    @saranyasaran1916 5 лет назад

    Thank You so much for these videos . It helps me a lot . you are really a very best and great teacher. The way you explain with examples are too understandable and have never gone through any tutorial like this. Hats off

  • @anya3681
    @anya3681 7 лет назад

    Absolutely amazing video in years ! Thank you

  • @Trzbne
    @Trzbne 7 лет назад

    I am wondering, how many people are here to learn programming, and how many to learn teaching? :-) You are master of masters, Venkat!!!

  • @iemranee
    @iemranee 7 лет назад

    Lot of respect and prayers for you.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    In this example, BaseEmployee should not be allowed to instantiate as we don't have an employee of type BaseEmployee, and hence it's marked as abstract. The only 2 types of employees are FullTimeEmployee and ContractEmployee. So, the other developers using our framework should be able to instantiate only FullTimeEmployee & ContractEmployee and not BaseEmployee. Hope this answers your question.

  • @kivajohn
    @kivajohn 11 лет назад

    Watching your video for the first time , you are a Genious man , really impressed

  • @KushanRandima
    @KushanRandima 5 лет назад

    Good Job! Well-organized & high-quality presentation slides, detailed explanation and talking to the point with the code examples are really impressive. Thank you.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Very good question. Will record and upload a video very soon.

  • @Aman-x5g
    @Aman-x5g Год назад

    10 years but still the best video.

  • @kameshraja6923
    @kameshraja6923 8 лет назад

    Very well explained ........goood video

  • @viruandveera44
    @viruandveera44 6 лет назад

    After 7 years of exp ...today I understand this concept properly..thank you Sir...

  • @rajanitewari4
    @rajanitewari4 9 лет назад +4

    Sir really greatful to you...you have such easily explained a very common interview question... You are really wonderful teacher...I always get confused dat which class or method I should make abstract but you have make it very clear...its really feel that you have saved my life...thank you so much

    • @AmitSharmaplus
      @AmitSharmaplus 9 лет назад

      mujhe b smjha dena phr

    • @rajanitewari4
      @rajanitewari4 9 лет назад

      Amit Sharma hahaha sir has explained in such a great way...just watch the video u will get it ;-)

    • @AmitSharmaplus
      @AmitSharmaplus 9 лет назад

      rajani tewari
      tere pass pure 168 tutorial h kya ?

    • @rajanitewari4
      @rajanitewari4 9 лет назад

      nhi but yhi you tube se direct view krri hu..abi to me 40 part me hu

    • @AmitSharmaplus
      @AmitSharmaplus 9 лет назад +1

      mai pure 168 download kr ra hu :D

  • @Rohit-zh4tc
    @Rohit-zh4tc 8 лет назад

    I have been following you for many months. And guess what everyone who wants to learn C# is considering your channel the first thing. You are amazing Venkat. I guess you started taking classes on Udemy. Good luck for that.

  • @raja4448
    @raja4448 7 лет назад

    Excellent video tutorial. Just what I was looking for. Great example and very neat explanation! Thanks :)