Object Oriented Programming 1 - Classes and Objects

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ย. 2024
  • This is the first in a series of videos that introduce object oriented programming (OOP) using Visual Basic.NET (VB.NET). This video explains the relationship between a class and an object. It shows how the public interface of a custom class can be coded, by declaring public variables within the class to define some simple properties, and by writing a public procedure to act as a simple method. How to create, that is instantiate, an object from a class is also demonstrated, then how values can be assigned to the properties of an object, how property values can be retrieved, and how an object’s methods can be called. The instantiation of multiple objects from a single class is also demonstrated. Later videos in this series will cover the use of class libraries, property procedures, constructors, method overloading and inheritance. The four fundamental principles of object oriented programming, namely, abstraction, encapsulation, inheritance and polymorphism will also be described with examples.

ความคิดเห็น • 62

  • @owen7185
    @owen7185 5 ปีที่แล้ว +22

    Finally someone who explains computer science topics in a good way

  • @BeepingSheep
    @BeepingSheep 4 ปีที่แล้ว +23

    Finally, a way to think of classes in terms of cats. Hopefully I can find more cat-based explanations of machine learning

  • @evandawson1037
    @evandawson1037 4 ปีที่แล้ว +19

    why didn't I find your videos before? Excellent explanation!! You are a fabulous teacher!!

  • @RanjithKumar-ue9hv
    @RanjithKumar-ue9hv 4 ปีที่แล้ว +5

    Class, Object, Properties and Values...Thanks Sir for teaching the abstract grammar behind Visual Basic.Very very useful. Thank you very much.

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 ปีที่แล้ว +3

      You are welcome. There's one more to come in this series about 'polymorphism'. :)KD

  • @amadakram5722
    @amadakram5722 4 ปีที่แล้ว +17

    finally I found my savior!!

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 ปีที่แล้ว +3

      If you code it up, it helps to understand the concepts doesn't it? Thanks for the comment. :)KD

    • @jtlunsford780
      @jtlunsford780 ปีที่แล้ว

      @@ComputerScienceLessons Yes it does

  • @hellespont5072
    @hellespont5072 5 ปีที่แล้ว +7

    Have to echo the previous comments: this video was very well done indeed! Much more informative than other YT videos and explains these strange concepts to me in a clear and concise way. Looking forward to finishing your OOP series, this is exactly what I've been looking for! Salute to my fellow Englishman

  • @jjjikkjjzzhh9433
    @jjjikkjjzzhh9433 หลายเดือนก่อน

    After looking for a clear explanation reg. classes, objects etc. ... finally I found your channel! Thank you for this absolutely clear descriptions! ... looking forward for the next videos in this course!!!!!!!! 👍

  • @igotrootshealthfitness7124
    @igotrootshealthfitness7124 3 ปีที่แล้ว +1

    Where have you been Sir finally someone who understands the need of the first year students

  • @heelee7520
    @heelee7520 6 ปีที่แล้ว +3

    The way you explain is awesome, so easy to understand. Thanks so much.

  • @evanjava2920
    @evanjava2920 4 ปีที่แล้ว +3

    Perfect way of explaining programming concept!!

  • @timurlengiaeuotica8848
    @timurlengiaeuotica8848 5 ปีที่แล้ว +5

    You saved me.
    +1 happy dinosaur points,
    A valid currency with an exchange rate of 1 quality meme : 1 Happy dinosaur points

  • @Brewermb
    @Brewermb 2 ปีที่แล้ว +1

    WOW! I just learned Ctrl - mouse roller to zoom in and out....no more squinting...Yipeeee.

  • @anthonysantiago58
    @anthonysantiago58 7 ปีที่แล้ว +3

    Thanks for uploading this fantastic video sir

  • @drarunanoopm5366
    @drarunanoopm5366 3 ปีที่แล้ว +3

    Great Explanation.

  • @mahmoudelgamasy1047
    @mahmoudelgamasy1047 ปีที่แล้ว +1

    Thank you for this great explanation

  • @13blueview
    @13blueview ปีที่แล้ว

    Thank you for the brilliant tutorials.

  • @littlecatboybuddy
    @littlecatboybuddy 2 ปีที่แล้ว +2

    Great tutorial! Thank you so much :)

  • @sandybowie671
    @sandybowie671 2 ปีที่แล้ว +3

    Thank you so much!!!

  • @BadealWeAfkar
    @BadealWeAfkar 4 ปีที่แล้ว +2

    Thanks very much.

  • @farmcaisegefar1490
    @farmcaisegefar1490 4 ปีที่แล้ว +3

    THANK YOU SIR VERY MUCH!!!!

  • @vitormanuelnina
    @vitormanuelnina 2 ปีที่แล้ว +2

  • @keagancarelse2868
    @keagancarelse2868 4 ปีที่แล้ว +2

    Good video

  • @zusdd8613
    @zusdd8613 7 ปีที่แล้ว +1

    thank you, great video.

  • @poornimak9926
    @poornimak9926 2 ปีที่แล้ว +3

    great way of explaining

  • @tahsinrahman1668
    @tahsinrahman1668 3 ปีที่แล้ว +1

    im still waiting for that cattery!

  • @vainfinity5577
    @vainfinity5577 4 ปีที่แล้ว +1

    Nice!!!

  • @sri78hari
    @sri78hari 3 ปีที่แล้ว +2

    One of the few videos in UK accent

  • @hirdeshkumar7027
    @hirdeshkumar7027 4 ปีที่แล้ว +2

    which book are you using ?

    • @ComputerScienceLessons
      @ComputerScienceLessons  4 ปีที่แล้ว +2

      No book. There is some written information on my (unfinished) website www.computersciencebytes.com/object-oriented-programming/
      :)KD

    • @jtlunsford780
      @jtlunsford780 ปีที่แล้ว

      @@ComputerScienceLessons Oh, wow...thank you for that website of yours....JT

  • @MAbduser
    @MAbduser 3 ปีที่แล้ว +1

    I understand OOP but I always fail to understand what is the benefit of it over the procedural programming! In this very example I could use subs and functions with parameters to achieve the same goal. Why using OOP then?!

    • @dumdum164
      @dumdum164 ปีที่แล้ว +1

      Unity uses c# object oriented language. If you play around with it youll understand

  • @Brewermb
    @Brewermb 2 ปีที่แล้ว

    Am I right in saying that this is similar to the way vb control creation edition works?

  • @trr12
    @trr12 ปีที่แล้ว

    Hi , I created a windows app form, then when i go into the toolbox, it looks completely empty, there is no Button, or anything, do you know why is that, what can I do? The error i get is B30506 ("Handles clause requieres a WithEvents variable defined in the containing type or one of its base types") thank you

  • @trr12
    @trr12 ปีที่แล้ว

    I have now opened a new file and i managed to get the button, but it now takes ages to run, do you have any idea why?

  • @williamchen2560
    @williamchen2560 8 หลายเดือนก่อน

    Hi guys, can anyone recommend a textbook for beginners? The video is very intriguing, and I'd like to expand my knowledge. However, I'm not sure where to start. I'm looking for some reading materials.😁

  • @trr12
    @trr12 ปีที่แล้ว

    Why do I get error BC30506? it is not running....

  • @zk_011
    @zk_011 4 ปีที่แล้ว +1

    i think you might just save my A-Level

  • @aelren
    @aelren 3 ปีที่แล้ว

    Need array version

  • @Abhishek-md2pb
    @Abhishek-md2pb 7 ปีที่แล้ว

    bro where is the definitions of that 4 things ...

  • @chrisperez1167
    @chrisperez1167 3 ปีที่แล้ว +2

    why the hell i hear narco cod on ur voice? .lol
    r u the same person? lol

    • @ComputerScienceLessons
      @ComputerScienceLessons  3 ปีที่แล้ว

      Nope. This is me: th-cam.com/channels/15I6KowjDwdLTg9fbLGBGA.html
      :)KD

  • @zahinzana2120
    @zahinzana2120 5 ปีที่แล้ว +1

    and i...object oriented programming

  • @comment8767
    @comment8767 ปีที่แล้ว +2

    Everyone on this channel has a weird accent.

    • @ComputerScienceLessons
      @ComputerScienceLessons  ปีที่แล้ว

      There's only me here :)KD (it's a mix of Northeast and Southwest England with some London and NZ thrown in).

    • @jtlunsford780
      @jtlunsford780 ปีที่แล้ว

      @@ComputerScienceLessons oh crap, ya got me a couple comments back, with the "Crikey"...LOL

  • @notacasual5593
    @notacasual5593 ปีที่แล้ว

    exam in 2 hours btw