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

  Рет қаралды 150,032

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

This fourth video of the complete object oriented programming (#OOP) course in Java will clear some of the most important concepts for you.
Covering access control, in-built packages, object class, and more!
Complete OOP playlist: • Object Oriented Progra...
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
- Join Replit: join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: • Java + DSA + Interview...
- Code, Assignments, & Notes: github.com/kunal-kushwaha/DSA...
➡️ Connect with me: kunalkushwaha.com
=========================================
Timestamps:
00:00 Introduction
01:04 Example: private, public and protected modifiers
12:29 Rules for modifiers
15:56 When to use which modifier?
18:03 Important point for protected modifier
26:10 More about Packages
27:17 In-built Packages
27:36 "lang" package
28:52 "io" package
29:31 "util" package
30:37 "applet" package
31:13 "awt" package
31:49 "net" package
32:23 Object Class
34:13 Object Methods
35:31 hashCode Method
39:28 equals Method
46:06 instanceof Operator
47:50 getClass Method
50:06 Outro
#placement #dsa #interviews

Пікірлер: 181
@rakeshranghani1148
@rakeshranghani1148 2 жыл бұрын
I saw many java tutorials of other KZbinrs 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.
@40_kamlesh_kumar_agarwal39
@40_kamlesh_kumar_agarwal39 2 жыл бұрын
This is the first course i am following step to step with. Best Content 🔥
@harshagarwal7832
@harshagarwal7832 2 жыл бұрын
Bhai bhai 🤩🤩🤩bas intezar hi kar rha tha 4th lecture ka ....3rd part tak kya hi padha diya bhai 🤘
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Awesome
@ronitsharma0352
@ronitsharma0352 Ай бұрын
@@KunalKushwaha make more videos bro
@devesh819
@devesh819 2 жыл бұрын
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 2 жыл бұрын
Thank you so much 😀
@mitulchavda9941
@mitulchavda9941 2 жыл бұрын
are you from CHARUSAT
@devesh819
@devesh819 2 жыл бұрын
@@mitulchavda9941 nope bytheway what's charusat is??
@ronitsharma0352
@ronitsharma0352 Ай бұрын
@@KunalKushwaha We want your consistency back kunal bhai ...
@tirakv
@tirakv Жыл бұрын
Video 4 == COMPLETED! Thank you so much for sharing this content!
@jenith281998
@jenith281998 2 жыл бұрын
This course and videos are worth fortune and you are giving away all information for free really hats off to you man...
@senseiKakashi07
@senseiKakashi07 2 жыл бұрын
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 ----| | | |____________________________|
@nikhilreddynama9905
@nikhilreddynama9905 8 ай бұрын
It is multi level inheritance
@NaveenKumar-nd5cf
@NaveenKumar-nd5cf Жыл бұрын
simply superb Teaching @free of cost👏👏🙏🙏
@utkarshahajare6179
@utkarshahajare6179 Жыл бұрын
Thank you ,kunal for such awesome content!!
@harshjaiswal1634
@harshjaiswal1634 2 жыл бұрын
Wow man... unbelievable ❤️🙏❤️
@mayurrokade5712
@mayurrokade5712 Ай бұрын
Thanks Kunal for making this course.
@nirvattaenterprises3047
@nirvattaenterprises3047 Жыл бұрын
Thanks for your contribution. Respect!
@lohithkumar5292
@lohithkumar5292 2 жыл бұрын
Great content, looking forward for future videos.
@samruddhighodake223
@samruddhighodake223 2 жыл бұрын
Never seen such an in-depth explanation before. Thanks for this amazing course.
@10.aryanjangde
@10.aryanjangde 26 күн бұрын
you have not seen anything then
@abhishekpandey-je6lq
@abhishekpandey-je6lq 6 ай бұрын
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)
@BackEndGenius
@BackEndGenius Жыл бұрын
In love with your content. Thanks alot.
@indrapreetsingh9680
@indrapreetsingh9680 2 жыл бұрын
Excellent efforts, Kunal!
@Window2015
@Window2015 5 ай бұрын
Personal timestamp: Day 1) 8:00 Day 2) 50:45
@pratibhayadav7112
@pratibhayadav7112 8 ай бұрын
Idk how but these lectures just uplift my mood
@karthikeyareddy9794
@karthikeyareddy9794 3 ай бұрын
i'm following it consistently, helping me a lot💫✌
@dhamotharan1734
@dhamotharan1734 10 ай бұрын
Another excellent explanation!
@_hulk748
@_hulk748 Жыл бұрын
Great Explanation Sir🙇‍♂❤✨🙏
@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 👍
@usenmfonuko3271
@usenmfonuko3271 4 ай бұрын
Thank you so much Kunal
@jamespeterson7824
@jamespeterson7824 Жыл бұрын
Great Content and explanation as always...
@prakharsinha4145
@prakharsinha4145 2 жыл бұрын
all just i can put forward a appreciation of being thankful you for providing such prestigious content! #DSAWithKunal
@manasayellamanchili2160
@manasayellamanchili2160 4 ай бұрын
Good explanation. Thank you
@venkateshvenky2880
@venkateshvenky2880 2 ай бұрын
Great explanation ...
@arpitapandey143
@arpitapandey143 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?
@debasmitamallick6489
@debasmitamallick6489 Жыл бұрын
I want your hashmap tutorial Kunal😭 I love your way of teaching. If you get any spare time, please make a video on hashmap.
@subham8095
@subham8095 2 жыл бұрын
actually now i understand concept of OOPs. Such an amazing work you are doing brother
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
You’re welcome
@marc8150
@marc8150 Жыл бұрын
Another great video! :D
@shyamamohanty7132
@shyamamohanty7132 8 ай бұрын
Even internally it isn't doing multiple inheritance but it is inheriting in a hierarchy i.e. SubClass extends A & A extends Object.
@adeditz3607
@adeditz3607 Жыл бұрын
Fan Of Your Teaching 😍❤️💥
@amcreations9192
@amcreations9192 Жыл бұрын
Worth watching ❣️
@stuntxo3968
@stuntxo3968 2 жыл бұрын
Thanks Kunal sir
@ashvinkumhar5819
@ashvinkumhar5819 Жыл бұрын
As Always Good Content
@yashkoolwal196
@yashkoolwal196 2 жыл бұрын
Feels so good!! completed this one also
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
So good!
@murugalakshmi8417
@murugalakshmi8417 14 күн бұрын
Thank you so much bro💯💯🩷
@wilsonarockiasamy4938
@wilsonarockiasamy4938 9 ай бұрын
I like the video first and then I see ur videos❤
@shreedharkotanur683
@shreedharkotanur683 Жыл бұрын
Excellent teaching
@manishbera2902
@manishbera2902 3 ай бұрын
Love the video❤❤❤
@anmolkumar5399
@anmolkumar5399 2 жыл бұрын
I m with u kunal sir
@mohitchandola3435
@mohitchandola3435 2 жыл бұрын
bro great content..🔥🔥🔥
@user-bv9kn3rd7k
@user-bv9kn3rd7k 9 күн бұрын
please create the playlist for spring framework.
@ShubhamKumar-gq4ph
@ShubhamKumar-gq4ph 2 жыл бұрын
So far so Good......
@dhirajjadhao6392
@dhirajjadhao6392 2 жыл бұрын
OG mentor and Op Content
@marufhasanmunna8193
@marufhasanmunna8193 2 жыл бұрын
Please continue this course
@sudarshan3901
@sudarshan3901 Жыл бұрын
Awesome video
@dnyaneshwarichatarkar6446
@dnyaneshwarichatarkar6446 2 жыл бұрын
Thanks a lot😀
@raghavmangla2481
@raghavmangla2481 2 жыл бұрын
Way better in quality than oops in 1shot videos
@vishnuganta9699
@vishnuganta9699 2 жыл бұрын
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..
@md_arfin_cse
@md_arfin_cse 2 жыл бұрын
Great 👍
@akshaysharma145
@akshaysharma145 2 жыл бұрын
Thanks alot for this video!! Would you recommend learning springboot as a fresher? and if yes then any source you recommend to follow or are you going to cover it too?
@akashgawai5647
@akashgawai5647 Жыл бұрын
Quality Content
@yellAtMe.
@yellAtMe. Жыл бұрын
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.
@thestoic7315
@thestoic7315 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@funenjoynilaypatel4553 Right on 👍🏼
@432prameela3
@432prameela3 Жыл бұрын
Thank you
@plutomessi21
@plutomessi21 5 ай бұрын
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.
@dannyhd8301
@dannyhd8301 2 ай бұрын
brilliant !!!
@jafarmoore168
@jafarmoore168 Жыл бұрын
love this
@itsvinu
@itsvinu 2 жыл бұрын
Congratulation for silver button bro
@trinmoydutta4879
@trinmoydutta4879 Жыл бұрын
when a class is inheriting another class then the sub class inherits the object class directly along with the superclass or the indirectly i.e. the subclass is inheriting the super class and the super class is inheriting object class,in a multilevel manner??
@nishantyadav7461
@nishantyadav7461 2 жыл бұрын
you are a gem of india ▄
@sreekanthkumar1485
@sreekanthkumar1485 2 жыл бұрын
Kunalism... New revolution...🔥
@shafaq-here
@shafaq-here 2 жыл бұрын
Appreciated .
@sumanhowlader3657
@sumanhowlader3657 Жыл бұрын
Hey, kunal from where I can learn spring framework? can you suggest anything?
@heyiamsra5207
@heyiamsra5207 2 жыл бұрын
very nice!
@RahulPatel-dk9dc
@RahulPatel-dk9dc 10 ай бұрын
whay are we using a setter method if we can do the same using constructor?
@ridoychandradey8337
@ridoychandradey8337 Жыл бұрын
Now I have the knowledge of access modifiers. Love these video.
@anuchethantc1990
@anuchethantc1990 10 ай бұрын
thank you
@FALGUNIRAKHECHA
@FALGUNIRAKHECHA Ай бұрын
One question, what if I create a class 'A' and make all its members + methods as private. Now suppose I create a subclass 'B' that extends 'A'. then what is the use of inheritance here when all my members/ methods of parent class are private and cannot be accessed through child class??
@Sillysmiles76
@Sillysmiles76 Жыл бұрын
Great Vedio
@raghavpatidar1070
@raghavpatidar1070 Жыл бұрын
At 33:45 maybe we can say like ObjectClass ----> A -----> SubClass (so basically subclass is also extending ObjectClass)?
@sdk-yourfriend1561
@sdk-yourfriend1561 7 ай бұрын
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.
@wasim_17
@wasim_17 7 ай бұрын
Understood 👍
@anuragnayak9704
@anuragnayak9704 2 жыл бұрын
How can you write two separate Java class in Java file ? It's showing me error on my IDE.
@justamit_
@justamit_ 2 жыл бұрын
Thanks
@suhaibalam1040
@suhaibalam1040 8 ай бұрын
cool stuff
@Helly_Patel
@Helly_Patel 2 жыл бұрын
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
@coolengineering3486
@coolengineering3486 Жыл бұрын
agreed! dynamic programming lectures would be awesome
@kritiksoni6006
@kritiksoni6006 2 жыл бұрын
You know what whenever i skip 10 sec or 5 sec video assuming that ohh I know this one I have always came back again coz everything is so connected and new in this video xo haha.
@mohdkaif864
@mohdkaif864 2 жыл бұрын
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.
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Pata hai
@antimuggle_ridhi2565
@antimuggle_ridhi2565 11 ай бұрын
@@KunalKushwaha ache se samjhata fir
@visheshkumar8015
@visheshkumar8015 Жыл бұрын
hi Kunal,please add hashmap series as well
@shivraj940
@shivraj940 7 ай бұрын
kunal, Please do multi threading concept. Its very important in our work place.
@sharathn6192
@sharathn6192 9 ай бұрын
appreciate it
@AmanKumar-ie7zm
@AmanKumar-ie7zm 3 ай бұрын
DSA G.O.A.T !!
@eliezrolerdo1632
@eliezrolerdo1632 Жыл бұрын
thanks
@JEDhanraj
@JEDhanraj Жыл бұрын
loved
@venutalla5932
@venutalla5932 Жыл бұрын
TQ sir
@ArchismanBhaumik
@ArchismanBhaumik 7 ай бұрын
What is the shortcut to access these methods at 34:40 ?
@zahaanmahajan1606
@zahaanmahajan1606 Жыл бұрын
Spoiler Alert : HashMap never came....😑😑😑😑
@mahajveemahajvee8941
@mahajveemahajvee8941 Жыл бұрын
😂😂😂😂😂
@sampabhattacharya8405
@sampabhattacharya8405 Жыл бұрын
🥲
@yashsingh4668
@yashsingh4668 9 ай бұрын
😂😢
@jerry_codes
@jerry_codes 7 ай бұрын
Ab aa gya hai bhai
@kshitijbhadale
@kshitijbhadale 4 ай бұрын
😂😂😂
@convolutionalnn2582
@convolutionalnn2582 2 жыл бұрын
Sir, I wanna ask you about Web Development...Anyone who know please answer....I created News Web with Angular...It has 5 components....2 of them are static which are for home and contact...The other 3 are dynamic as they display News getting it from an api...How can i improve my rendering as it is only CSR?Should i use SSG for the two static?Should i use CSR+SSR etc etc ? What should be best and How can i implement it?For example if i am going to do Csr + ssg How can i use Angular + Angular Universal
@rudram4534
@rudram4534 2 жыл бұрын
still watching consistently 😀😀😀
@user-hm6mv6bx3e
@user-hm6mv6bx3e 5 ай бұрын
Can you please make a long video on operating system like you did on networking.🙏🙏
@mirzakariaislam610
@mirzakariaislam610 Жыл бұрын
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 6 ай бұрын
Every child class is a multi-level inheritance since it's parent(Base) class inherit properties from object(Topmost) class
@rushikeshpatil6800
@rushikeshpatil6800 2 жыл бұрын
Someone: Define Perfection Me: Kunal Kushwaha😇
@harshitthakkar9694
@harshitthakkar9694 Жыл бұрын
Hey all this is lovely I completed your course loved it thoroughly but u said it in here that u will release hashmap video it never came
@AdamRubiks
@AdamRubiks 2 жыл бұрын
nice.
@joejangala
@joejangala 9 ай бұрын
Best..
@mutasimahmed8975
@mutasimahmed8975 2 жыл бұрын
awesome video love the consistency ...can we also get DSA sheet or study plan ? along with this course thnx brother kunal
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
I have no idea what you mean by that
@mutasimahmed8975
@mutasimahmed8975 2 жыл бұрын
@@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*
@Sajal_Dadsena
@Sajal_Dadsena 2 жыл бұрын
Is c++ course also coming?
OOP 5 | Abstract Classes, Interfaces, Annotations
1:10:42
Kunal Kushwaha
Рет қаралды 194 М.
OOP 3 | Principles - Inheritance, Polymorphism, Encapsulation, Abstraction
2:12:51
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 28 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 27 МЛН
어른의 힘으로만 할 수 있는 버블티 마시는법
00:15
진영민yeongmin
Рет қаралды 7 МЛН
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,2 МЛН
15 crazy new JS framework features you don’t know yet
6:11
Fireship
Рет қаралды 386 М.
Switch Statements + Nested Case in Java
26:11
Kunal Kushwaha
Рет қаралды 288 М.
OOP 1 | Introduction & Concepts - Classes, Objects, Constructors, Keywords
1:42:27
Create a Sudoku Solver In Java In 20 Minutes - Full Tutorial
20:25
Coding with John
Рет қаралды 315 М.
Introduction to Recursion - Learn In The Best Way
1:55:49
Kunal Kushwaha
Рет қаралды 815 М.
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 470 М.
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 28 МЛН