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!
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 ----| | | |____________________________|
I saw many java tutorials of other RU-vidrs 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.
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)
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 👍
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).
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.
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.
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.
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..
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.
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
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??
hey kunal, one doubt THE SUPERCLASS HAS NO IDEA ABOUT BELOW CLASS. BUT CHILD CLASS CARE ABOUT WHAT PARENT CLASS CONTAIN, but how A SUPERCLASS REFERENCE VARIABLE CAN REFER TO A SUB CLASS OBJECT?
Hey I hope this will help parent obj = new Child(), here the obj can only access the variables methods that are in the parent obj ey parent class has these following {int a,int b, void dis()} & the child has(int c) the obj can access a,b,dis only not c in the child class regarding methods I suggest you to watch polymorphism in the previous video
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?