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..🤠❤
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!
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.
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 ----| | | |____________________________|
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.
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.
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 👍
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
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)
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.
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
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.
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.
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.
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..
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).
DSA + interview preparation playlist: ua-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html
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..🤠❤
Bhai bhai 🤩🤩🤩bas intezar hi kar rha tha 4th lecture ka ....3rd part tak kya hi padha diya bhai 🤘
Awesome
@@KunalKushwaha make more videos bro
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!
This is the first course i am following step to step with. Best Content 🔥
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.
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 ----|
| |
|____________________________|
It is multi level inheritance
This course and videos are worth fortune and you are giving away all information for free really hats off to you man...
Our Hero is back with some new powers and abilities to share with us ...
Your consistency is really a motivation
Thx for it bro 👍👍
Thank you so much 😀
are you from CHARUSAT
@@mitulchavda9941 nope bytheway what's charusat is??
@@KunalKushwaha We want your consistency back kunal bhai ...
Video 4 == COMPLETED! Thank you so much for sharing this content!
actually now i understand concept of OOPs. Such an amazing work you are doing brother
You’re welcome
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
simply superb Teaching @free of cost👏👏🙏🙏
Feels so good!! completed this one also
So good!
Done for the day with a brief information
Idk how but these lectures just uplift my mood
Another excellent explanation!
Wow man... unbelievable ❤️🙏❤️
Great explanation ...
all just i can put forward a appreciation of being thankful you for providing such prestigious content! #DSAWithKunal
Would love to complete whole playlist today ❤
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.
Excellent efforts, Kunal!
Thanks Kunal for making this course.
Great content, looking forward for future videos.
33:48 This is done by Multilevel inheritance and not multiple inheritance. Since the extending class has already extended the Object class.
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.
i'm following it consistently, helping me a lot💫✌
At 33:45 maybe we can say like
ObjectClass ----> A -----> SubClass (so basically subclass is also extending ObjectClass)?
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.
Kunalism... New revolution...🔥
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 👍
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.
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
@@funenjoynilaypatel4553 Right on 👍🏼
Thank you ,kunal for such awesome content!!
I like the video first and then I see ur videos❤
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
agreed! dynamic programming lectures would be awesome
Never seen such an in-depth explanation before. Thanks for this amazing course.
you have not seen anything then
Thanks for your contribution. Respect!
Thank you so much Kunal
Congratulation for silver button bro
worth the time Kunal...💌
Fan Of Your Teaching 😍❤️💥
Great Explanation Sir🙇♂❤✨🙏
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)
In love with your content. Thanks alot.
I want your hashmap tutorial Kunal😭 I love your way of teaching. If you get any spare time, please make a video on hashmap.
you are a gem of india ▄
Way better in quality than oops in 1shot videos
Thanks Kunal 👊🏻
As Always Good Content
loved it man
I m with u kunal sir
really wonderful......
Worth watching ❣️
Love the video❤❤❤
Great Content and explanation as always...
Another great video! :D
Good explanation. Thank you
Someone: Define Perfection Me: Kunal Kushwaha😇
congo bro for 700k
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.
Excellent teaching
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
Thanks a lot
🥳🥳🥳
So far so Good......
Minor Correction at 10:06 data member are accessible only to that 'scope' or class, not the whole file.
Great 👍
Quality Content
OG mentor and Op Content
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.
Thanks Kunal sir
Wish this was shown in java programming class instead of the boring theory that professors just talk about
Kunal's fans : Please teach us OOP ! Its very confusing !
Kunal : Hold my Beer, I got you !
Thank you...🙏
Even internally it isn't doing multiple inheritance but it is inheriting in a hierarchy i.e. SubClass extends A & A extends Object.
Now I have the knowledge of access modifiers. Love these video.
but we can aslo set the value of num which is private through constructor, How? at 9:42
Awesome video
Thank you so much bro💯💯🩷
Understood 👍
DSA G.O.A.T !!
Great Vedio
still watching consistently
😀😀😀
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.
Kunal bhaiya I never found this kind of course whensome suggest for paid for course.one more thing please complete remaining videos🙏
bro great content..🔥🔥🔥
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?
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.
Pata hai
@@KunalKushwaha ache se samjhata fir
Video 40 Completed!
awesome video love the consistency ...can we also get DSA sheet or study plan ? along with this course
thnx brother kunal
I have no idea what you mean by that
@@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*
Please continue this course
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..
cool stuff
PLEAAASSEEE Create a playlist for Java Multithreading concepts as well as Spring framework !!! 😭😭
brilliant !!!
What is the shortcut to access these methods at 34:40 ?
kunal, Please do multi threading concept. Its very important in our work place.
very simple stuff
thankkk very very thank
please create the playlist for spring framework.
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).
Every child class is a multi-level inheritance since it's parent(Base) class inherit properties from object(Topmost) class