OOP 4 | Access Control, In-built Packages, Object Class

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 223

  • @KunalKushwaha
    @KunalKushwaha  4 місяці тому +5

    DSA + interview preparation playlist: ua-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html

  • @LokeshI-y1i
    @LokeshI-y1i 2 місяці тому +9

    I am so glad and thankful for god, that kunal taught me Java!. Now i Love Java more than any other programming languages.. `ThankYou, So much Kunal`.. Keep going..🤠❤

  • @harshagarwal7832
    @harshagarwal7832 3 роки тому +18

    Bhai bhai 🤩🤩🤩bas intezar hi kar rha tha 4th lecture ka ....3rd part tak kya hi padha diya bhai 🤘

  • @malishagavali9225
    @malishagavali9225 4 місяці тому +4

    At 33:51, I had this exact same doubt in the previous video and commented on it there, and now you've answered it here. You know all the doubts one can have. Amazing series so far!

  • @40_kamlesh_kumar_agarwal39
    @40_kamlesh_kumar_agarwal39 3 роки тому +35

    This is the first course i am following step to step with. Best Content 🔥

  • @rakeshranghani1148
    @rakeshranghani1148 2 роки тому +12

    I saw many java tutorials of other UA-camrs but the my mind is not clear at so many point. Now i'm relaxed .
    Lot of concepts are cleared thanks men! You are the real jem.

  • @senseiKakashi07
    @senseiKakashi07 2 роки тому +22

    Great video!!❤️
    Just one thing i want to mention is that at 33:43 you said it is internally doing but how it is inheriting the object class is because as child class inherits the parent class hence it can't inherit any other class(no to multiple inheritance), but we can see that parent is is inheriting the Object class hence child class is indirectly inheriting the Object class via parent class.
    Object -----> Parent ------> Child ----|
    | |
    |____________________________|

  • @jenith281998
    @jenith281998 2 роки тому +5

    This course and videos are worth fortune and you are giving away all information for free really hats off to you man...

  • @devesh819
    @devesh819 3 роки тому +94

    Our Hero is back with some new powers and abilities to share with us ...
    Your consistency is really a motivation
    Thx for it bro 👍👍

    • @KunalKushwaha
      @KunalKushwaha  3 роки тому +19

      Thank you so much 😀

    • @mitulchavda9941
      @mitulchavda9941 3 роки тому +2

      are you from CHARUSAT

    • @devesh819
      @devesh819 3 роки тому +1

      @@mitulchavda9941 nope bytheway what's charusat is??

    • @ronitsharma0352
      @ronitsharma0352 8 місяців тому +1

      @@KunalKushwaha We want your consistency back kunal bhai ...

  • @tirakv
    @tirakv Рік тому +6

    Video 4 == COMPLETED! Thank you so much for sharing this content!

  • @subham8095
    @subham8095 3 роки тому +11

    actually now i understand concept of OOPs. Such an amazing work you are doing brother

  • @surajgitte2958
    @surajgitte2958 4 місяці тому +1

    This is the Best course , I am following this course from first video , BEST COURSE , GOD OF JAVA Kunal bro ---- And the LEGENDARY poem today

  • @NaveenKumar-nd5cf
    @NaveenKumar-nd5cf 2 роки тому +1

    simply superb Teaching @free of cost👏👏🙏🙏

  • @yashkoolwal196
    @yashkoolwal196 3 роки тому +9

    Feels so good!! completed this one also

  • @saqlainkazi5770
    @saqlainkazi5770 21 день тому

    Done for the day with a brief information

  • @pratibhayadav7112
    @pratibhayadav7112 Рік тому

    Idk how but these lectures just uplift my mood

  • @dhamotharan1734
    @dhamotharan1734 Рік тому +1

    Another excellent explanation!

  • @harshjaiswal1634
    @harshjaiswal1634 3 роки тому +1

    Wow man... unbelievable ❤️🙏❤️

  • @venkateshvenky2880
    @venkateshvenky2880 9 місяців тому +1

    Great explanation ...

  • @prakharsinha4145
    @prakharsinha4145 2 роки тому +1

    all just i can put forward a appreciation of being thankful you for providing such prestigious content! #DSAWithKunal

  • @RahulKumar-pf8os
    @RahulKumar-pf8os 4 місяці тому

    Would love to complete whole playlist today ❤

  • @m.sivaramtej4572
    @m.sivaramtej4572 День тому

    00:03 - Access control, object class, and built-in packages
    04:26 - Access Control and Object Class
    11:51 - Private access modifier restricts access to within the same class
    15:36 - Access Control
    21:21 - Access control and in-built packages
    24:46 - Access Control, In-built Packages, and Object Class
    31:36 - Access Control, In-built Packages, Object Class
    35:11 - The video discusses access control, in-built packages, and the object class in object-oriented programming.
    42:23 - Understanding access control, in-built packages, and the object class in Object-Oriented Programming.
    45:44 - Understanding the concept of object instances in OOP.

  • @indrapreetsingh9680
    @indrapreetsingh9680 3 роки тому +1

    Excellent efforts, Kunal!

  • @mayurrokade5712
    @mayurrokade5712 8 місяців тому

    Thanks Kunal for making this course.

  • @lohithkumar5292
    @lohithkumar5292 2 роки тому +1

    Great content, looking forward for future videos.

  • @bibin6038
    @bibin6038 6 місяців тому

    33:48 This is done by Multilevel inheritance and not multiple inheritance. Since the extending class has already extended the Object class.

  • @shaikshareef1557
    @shaikshareef1557 2 місяці тому

    At 33.51, a subclass inherits the properties of the Object class, not through internal multiple inheritance, but through multilevel inheritance. This means that first, class A inherits the properties of the Object class, and then the subclass inherits from class A. Therefore, all methods available in class A are also available in the subclass because of inheritance.

  • @karthikeyareddy9794
    @karthikeyareddy9794 10 місяців тому

    i'm following it consistently, helping me a lot💫✌

  • @raghavpatidar1070
    @raghavpatidar1070 Рік тому +2

    At 33:45 maybe we can say like
    ObjectClass ----> A -----> SubClass (so basically subclass is also extending ObjectClass)?

    • @sdk-yourfriend1561
      @sdk-yourfriend1561 Рік тому

      What I understood is that every class you create is a subclass of the object class. So, yes Subclass is also a sub class of the object class.

  • @sreekanthkumar1485
    @sreekanthkumar1485 3 роки тому

    Kunalism... New revolution...🔥

  • @aryaarjun_1138
    @aryaarjun_1138 2 роки тому

    brother you are the best.... following all your videos nd all have quality👌..bole to ek number 😉...U r just out of the crowd....nd at last thank u so much brother..u r doing great 👍

  • @thestoic7315
    @thestoic7315 3 роки тому +20

    Hey Kunal, thank you for putting out quality content, especially on recursion. Can this be understood by someone from Python? I don't know Java.

    • @funenjoynilaypatel4553
      @funenjoynilaypatel4553 3 роки тому +8

      are bro i know c++ not java but once you understand the flow how things work you can code in different language no problem main thing is to understand the concept which is very well explained by Kunal

    • @thestoic7315
      @thestoic7315 3 роки тому

      @@funenjoynilaypatel4553 Right on 👍🏼

  • @utkarshahajare6179
    @utkarshahajare6179 2 роки тому

    Thank you ,kunal for such awesome content!!

  • @wilsonarockiasamy4938
    @wilsonarockiasamy4938 Рік тому

    I like the video first and then I see ur videos❤

  • @Helly_Patel
    @Helly_Patel 2 роки тому +4

    Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!

  • @samruddhighodake223
    @samruddhighodake223 3 роки тому

    Never seen such an in-depth explanation before. Thanks for this amazing course.

  • @nirvattaenterprises3047
    @nirvattaenterprises3047 2 роки тому

    Thanks for your contribution. Respect!

  • @usenmfonuko3271
    @usenmfonuko3271 10 місяців тому

    Thank you so much Kunal

  • @itsvinu
    @itsvinu 3 роки тому +1

    Congratulation for silver button bro

  • @mvm109
    @mvm109 6 місяців тому

    worth the time Kunal...💌

  • @adeditz3607
    @adeditz3607 Рік тому

    Fan Of Your Teaching 😍❤️💥

  • @_hulk748
    @_hulk748 Рік тому

    Great Explanation Sir🙇‍♂❤✨🙏

  • @abhishekpandey-je6lq
    @abhishekpandey-je6lq Рік тому +1

    Good Explanation,
    But just one small correction when you say it is a multiple inheritance when your extended class also extending Object class.
    Actually you base class extends Object class and your sub class extends base class which extended the Object class.
    This hierarchy is an example of multilevel inheritance, not multiple inheritance.
    Eg-
    BaseClass (extends Object)
    SubClass (extends BaseClass, which, in turn, extends Object)

  • @RaoWaqasAkram
    @RaoWaqasAkram 2 роки тому

    In love with your content. Thanks alot.

  • @debasmitamallick6489
    @debasmitamallick6489 2 роки тому

    I want your hashmap tutorial Kunal😭 I love your way of teaching. If you get any spare time, please make a video on hashmap.

  • @nishantyadav7461
    @nishantyadav7461 2 роки тому

    you are a gem of india ▄

  • @raghavmangla2481
    @raghavmangla2481 2 роки тому

    Way better in quality than oops in 1shot videos

  • @karthikgururajan1131
    @karthikgururajan1131 4 місяці тому

    Thanks Kunal 👊🏻

  • @ashvinkumhar5819
    @ashvinkumhar5819 Рік тому

    As Always Good Content

  • @parchaye
    @parchaye 4 місяці тому

    loved it man

  • @anmolkumar5399
    @anmolkumar5399 2 роки тому

    I m with u kunal sir

  • @bishwajitsahu3621
    @bishwajitsahu3621 2 роки тому

    really wonderful......

  • @amcreations9192
    @amcreations9192 2 роки тому

    Worth watching ❣️

  • @manishbera2902
    @manishbera2902 9 місяців тому

    Love the video❤❤❤

  • @jamespeterson7824
    @jamespeterson7824 2 роки тому

    Great Content and explanation as always...

  • @GTZ-98
    @GTZ-98 Рік тому

    Another great video! :D

  • @manasayellamanchili2160
    @manasayellamanchili2160 11 місяців тому

    Good explanation. Thank you

  • @rushikeshpatil6800
    @rushikeshpatil6800 2 роки тому

    Someone: Define Perfection Me: Kunal Kushwaha😇

  • @suldn2113
    @suldn2113 29 днів тому

    congo bro for 700k

  • @syedfaheem1185
    @syedfaheem1185 11 днів тому

    At 45:17, you're downcasting an object which can produce run-time errors. A more safe way would be to check if the obj recieved is an instance of ObjectDemo and then downcast it call num on it. I know you might have done it just to make us understand. But am i right in my conclusion.

  • @shreedharkotanur683
    @shreedharkotanur683 2 роки тому

    Excellent teaching

  • @dasa9639
    @dasa9639 3 місяці тому

    a sub class also extends the object class because----> the parent class it is inheriting extends the object class and hence the subclass indirectly inherits the object class

  • @Akshat-learning
    @Akshat-learning 2 місяці тому

    Thanks a lot
    🥳🥳🥳

  • @ShubhamKumar-gq4ph
    @ShubhamKumar-gq4ph 2 роки тому

    So far so Good......

  • @AadityaAgarwal-qo1km
    @AadityaAgarwal-qo1km 2 місяці тому

    Minor Correction at 10:06 data member are accessible only to that 'scope' or class, not the whole file.

  • @md_arfin_cse
    @md_arfin_cse 3 роки тому +1

    Great 👍

  • @akashgawai5647
    @akashgawai5647 2 роки тому

    Quality Content

  • @dhirajjadhao6392
    @dhirajjadhao6392 3 роки тому

    OG mentor and Op Content

  • @yellAtMe.
    @yellAtMe. 2 роки тому

    Great Job Kunal! I have been waiting for you to finish this course from almost 6 months. You must be very busy so can you at least recommend someone's channel so that we can move forward. Please do reply to this.

  • @stuntxo3968
    @stuntxo3968 3 роки тому

    Thanks Kunal sir

  • @sridhanush6969
    @sridhanush6969 4 місяці тому +1

    Wish this was shown in java programming class instead of the boring theory that professors just talk about

  • @Enigma700-dp1kv
    @Enigma700-dp1kv 6 місяців тому

    Kunal's fans : Please teach us OOP ! Its very confusing !
    Kunal : Hold my Beer, I got you !

  • @SARVAGNAVEMULA
    @SARVAGNAVEMULA 4 місяці тому

    Thank you...🙏

  • @shyamamohanty7132
    @shyamamohanty7132 Рік тому

    Even internally it isn't doing multiple inheritance but it is inheriting in a hierarchy i.e. SubClass extends A & A extends Object.

  • @ridoychandradey8337
    @ridoychandradey8337 2 роки тому

    Now I have the knowledge of access modifiers. Love these video.

  • @damangoyal9126
    @damangoyal9126 6 місяців тому

    but we can aslo set the value of num which is private through constructor, How? at 9:42

  • @sudarshan3901
    @sudarshan3901 2 роки тому

    Awesome video

  • @murugalakshmi8417
    @murugalakshmi8417 7 місяців тому

    Thank you so much bro💯💯🩷

  • @wasim_17
    @wasim_17 Рік тому

    Understood 👍

  • @AmanKumar-ie7zm
    @AmanKumar-ie7zm 10 місяців тому

    DSA G.O.A.T !!

  • @Sillysmiles76
    @Sillysmiles76 Рік тому

    Great Vedio

  • @rudram4534
    @rudram4534 2 роки тому

    still watching consistently
    😀😀😀

  • @plutomessi21
    @plutomessi21 Рік тому

    Box box5 = new Boxweight(2,5,6,7);
    box5 is of type BOX, but it is referencing to an object containing the properties of boxweight.
    This is possible, even tho the constructor boxweight is present in the boxweight class we can access it using a reference but only those properties or instances which are common in both BOX & boxweight.
    It is the type of the reference variable and not the object that determines what members can be accessed.so here even tho the object will have some extra variables that are present in the boxweight but the reference.thatvariable won’t be able to access it as the refernce variable is of type BOX and only the BOX property present in the object will be able to be modified or accessed.

  • @NareshNaresh-cl8rn
    @NareshNaresh-cl8rn 4 місяці тому

    Kunal bhaiya I never found this kind of course whensome suggest for paid for course.one more thing please complete remaining videos🙏

  • @mohitchandola3435
    @mohitchandola3435 3 роки тому

    bro great content..🔥🔥🔥

  • @arpitapandey143
    @arpitapandey143 3 роки тому +2

    Hey Kunal .. Thank you for such an amazing series .
    When will we get the oops notes and how many more videos are there in oops playlist?

  • @mohdkaif864
    @mohdkaif864 2 роки тому +1

    Java doesn't support multiple inheritance but it does supports multilevel inheritance so when you inherit any class that class or that class's parent class is already inheriting object class that is how every class must inherit object class.

  • @itshari5489
    @itshari5489 4 місяці тому

    Video 40 Completed!

  • @mutasimahmed8975
    @mutasimahmed8975 3 роки тому +2

    awesome video love the consistency ...can we also get DSA sheet or study plan ? along with this course
    thnx brother kunal

    • @KunalKushwaha
      @KunalKushwaha  3 роки тому +1

      I have no idea what you mean by that

    • @mutasimahmed8975
      @mutasimahmed8975 3 роки тому +5

      @@KunalKushwaha haha no problem ..continue what your doing bhai
      i will follow along
      *i have used paid course and yours is better that to for free*

  • @marufhasanmunna8193
    @marufhasanmunna8193 2 роки тому

    Please continue this course

  • @vishnuganta9699
    @vishnuganta9699 3 роки тому +1

    Hello kunal
    I’ve doubt
    Should I watch the lectures in a flow for days daily an hour like that or should I stop somewhere and give a gap then practice and again start. What should I do ?
    I need your suggestion desperately..

  • @suhaibalam1040
    @suhaibalam1040 Рік тому

    cool stuff

  • @Enigma700-dp1kv
    @Enigma700-dp1kv 6 місяців тому

    PLEAAASSEEE Create a playlist for Java Multithreading concepts as well as Spring framework !!! 😭😭

  • @dannyhd8301
    @dannyhd8301 8 місяців тому

    brilliant !!!

  • @ArchismanBhaumik
    @ArchismanBhaumik Рік тому

    What is the shortcut to access these methods at 34:40 ?

  • @shivraj940
    @shivraj940 Рік тому

    kunal, Please do multi threading concept. Its very important in our work place.

  • @xtttra
    @xtttra 6 місяців тому

    very simple stuff

  • @yashkumarsingh850
    @yashkumarsingh850 4 місяці тому

    thankkk very very thank

  • @NikhilAgrawalB21EE043
    @NikhilAgrawalB21EE043 7 місяців тому +1

    please create the playlist for spring framework.

  • @mirzakariaislam610
    @mirzakariaislam610 2 роки тому +1

    33.40
    Someone please check if it is right or wrong. Subclass is extending A. By default A is extending Object class. So Subclass is extending Object class implicitly (something like multilevel inheritance).

    • @enagantisaipavanrao2326
      @enagantisaipavanrao2326 Рік тому

      Every child class is a multi-level inheritance since it's parent(Base) class inherit properties from object(Topmost) class