OOP 5 | Abstract Classes, Interfaces, Annotations

  Рет қаралды 189,812

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

This fifth video of the complete object oriented programming (#OOP) course in Java will clear some of the most important concepts for you about multiple inheritance.
Covering abstract classes, interfaces, annotations, 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:
0:00:00 Introduction
0:00:30 Multiple Inheritance Problem
0:01:08 Abstract Classes
0:06:38 Example of Abstract Classes
0:16:45 Abstract Constructors
0:17:15 Object of an Abstract Class
0:17:40 Abstract Static Methods
0:18:04 Static Methods in Abstract Classes
0:21:52 "final" Keyword in Abstract Class
0:24:18 Multiple Inheritance using Abstract Classes
0:25:10 Interfaces
0:31:29 Example of Interfaces
0:43:41 Variable of Interface Type
0:47:42 Separate Classes in Same Interface
0:55:01 Extending Interfaces
0:57:18 Annotations
1:02:05 Important point regarding Static Interface methods
1:06:17 Nested Interfaces
1:09:31 Outro
#placement #dsa #interviews

Пікірлер: 289
@piyush9266
@piyush9266 2 жыл бұрын
Salute u...real Hero.. india needs people like u who can change the destiny of this country by quality education..I salute your dedication and selfless service not only for ur countrymen but for all human beings.may God bless u with all happiness of this universe🙏🙏🙏🙏🙏😊
@supriyaannapure1535
@supriyaannapure1535 2 жыл бұрын
YES,i agree
@the_inspiration_club
@the_inspiration_club 2 жыл бұрын
R u from thapar@piysh
@piyush9266
@piyush9266 2 жыл бұрын
@@the_inspiration_club no, i am working employee.
@sairamsubrahmanya4946
@sairamsubrahmanya4946 2 жыл бұрын
Yes I agree hei is superb.
@in-sanitygamer4208
@in-sanitygamer4208 Жыл бұрын
No bro the whole world needs the SuperKunal man
@harshsolanki703
@harshsolanki703 2 жыл бұрын
This was the hell of a video. Literally THE BEST video for OOP. OOP couldn't be explained any better than this. 🔥🔥
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
It do be like that
@ashutoshswain138
@ashutoshswain138 2 жыл бұрын
@@KunalKushwaha bro why don't you add new videos in this java bootcamp like before , please complete this bootcamp
@bjugdbjk
@bjugdbjk 2 жыл бұрын
Oh, man !! Most probably this gonna be the fastest channel to reach a million subscribers comes under the non-entertainment category !! Kudos to u bro !! Extraordinary effort !! U will be remembered.
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Thank You 🙏
@jayprakashjaiswaldeptofcom1250
@jayprakashjaiswaldeptofcom1250 Жыл бұрын
@@KunalKushwaha bhaiya graph sab karado yarr,please
@Cono314da
@Cono314da Жыл бұрын
@@KunalKushwaha at 23:15 why cant it be "final int VALUE = 30;", rather than value being initialized in the constructor?
@vinathasree168
@vinathasree168 Жыл бұрын
@@Cono314da can't be inherited, so we put it in a constructor to initialize it
@shubhamagarwal7876
@shubhamagarwal7876 2 жыл бұрын
Kunal I am having 2.5 years of experience in IT and now preparing for a job switch. I am following all your videos religiously. The content you are providing is just priceless. Your way of teaching is so lucid that nothing else than series is required. I am so much enjoying it like a web series , and yes learning was never so much of fun. I India I think we need no college we only need Kunal to make quality engineers. In college they cannot make these these things clear in 4 years and you did it in just 40 min. God bless you . Keep sharing your learnings .
@aritrachatterjee147
@aritrachatterjee147 2 жыл бұрын
Mann take some rest brother we need you for long term coz there is very few teachers like you in India ... Mann people upload 1 video on a week and say that quality and you are uploading 2 videos a day still maintaining that top notch quality... Kudos to you man ... ❤️
@adbhuthareddy
@adbhuthareddy 2 жыл бұрын
That's what I'm always saying bro 🥲 Completely agree 💯 with you..
@anchitsingla9761
@anchitsingla9761 2 жыл бұрын
Woah! 2 videos in One day....Great work and Thanks again a lot for this course.. ❤️
@flyfly11111
@flyfly11111 11 ай бұрын
Hi Kunal, I recently founded your channel, I like the way you explain the core concepts. It's really very helpful. Thank you so much. Please keep this continue
@Sumit-lr1qj
@Sumit-lr1qj 2 жыл бұрын
Your Content Quality is just superb along with your teaching skills.. Keep it Up . This is Probably the best programming channel in India right now in terms of quality content
@avinashsingh7722
@avinashsingh7722 2 жыл бұрын
Thankyou so much Kunal this is the best video i found on abstract classes and interfaces. Learnt a lot from this. ;) Message to fellow people just stay away from involving in controversy. Our main motive should be to learn from anywhere we can. Thankyu kunal for providing top-notch content on OOP.
@naveenbommula9325
@naveenbommula9325 2 жыл бұрын
Fell in love with your consistency and knowledge sharing.👏
@applein289
@applein289 Жыл бұрын
You don't have to mention it that u have to create this course to be the best on youtube, because it is. By your videos i get detailed info of every topic, Loved your course😍
@aishwaryabalyaya6966
@aishwaryabalyaya6966 Жыл бұрын
Best OOPS videos on the internet!! More power to you sir!!
@rohanbhujbal6327
@rohanbhujbal6327 2 жыл бұрын
ngl this is the best DS and java course I've ever seen. tbh I'm struggling a little bit but ig i need to do more practice and exploring
@TuxTuxedo-oc9kg
@TuxTuxedo-oc9kg Жыл бұрын
this is the most awesome java tutorial I have seen on youtube so far. thank you so much!
@akshaytakrani6886
@akshaytakrani6886 2 жыл бұрын
Ocean of knowledge in this video about Interfaces and Abstract classes. Love the way you teach ❤
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Thank You
@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!!
@prakashyemineni5199
@prakashyemineni5199 Жыл бұрын
So many doubts got resolved with this playlist, Thank you Brother 🙏.
@ashon7566
@ashon7566 2 жыл бұрын
Brother, you video are the ones help me the most understanding OOP.
@lohithkumar5292
@lohithkumar5292 2 жыл бұрын
Great content! Looking forward for future videos.
@nitwaalebhaiya
@nitwaalebhaiya 2 жыл бұрын
🙏🙏 My concepts are getting stronger by your videos.
@hariaseri6071
@hariaseri6071 2 жыл бұрын
I really don't have any words yr I mean how can you work so hard and give such kind of content just for free . Thanks a lot bro
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
Thank you so much 😀
@yogpooja-vq1pp
@yogpooja-vq1pp Жыл бұрын
Thank you, Kunal. and yes it is the best, I have ever found.
@jomamusk9791
@jomamusk9791 Жыл бұрын
There can never be a better example than the MyCar Example. What and example! Most concepts Kunal taught till now are there in this single example. You are the Best!!!!
@KunalKushwaha
@KunalKushwaha Жыл бұрын
Thank You!
@sippy8482
@sippy8482 2 жыл бұрын
Your dedication ❤️
@lingrajpatil9242
@lingrajpatil9242 2 жыл бұрын
Thanks for sharing your valuable knowledge free of cost😊 wishing you d best of best🙏
@abrarfaisal1393
@abrarfaisal1393 Жыл бұрын
Hey kunal, a lot of appreciation man, did a great job. But its' hard to wait for upcoming videos for advanced algorithm, DP, trees and graphs videos etc.
@AjitKumar-gn1se
@AjitKumar-gn1se 2 ай бұрын
That's what I call real-world teaching. Exceptionally well!...... 🙏👌👏👏👏👏👏
@sayakbasak587
@sayakbasak587 8 ай бұрын
there is no one making such a detailed video like you did.
@ankitkushwah1879
@ankitkushwah1879 11 ай бұрын
Bro what a tutor! Amazing.. You really made me fall in love with dsa..
@arijitmohapatra147
@arijitmohapatra147 2 жыл бұрын
Thanks for putting a lot of effort for us ❤️💕☺️
@_hulk748
@_hulk748 Жыл бұрын
Great Explanation Sir✨❤ Please continue the DSA series Sir🙏🙏
@untold8718
@untold8718 2 ай бұрын
You changed me a lot, your teachings are a blessing for me, now i am teaching students on behalf of getting knowledge from you☺
@S_SwasK
@S_SwasK 2 ай бұрын
Got a bit confused in the Car Engine Brake part , had to rewatch that part 3 times , but understood well practicing with you , Thank you for in-depth Explanations and not just another Tutorial.
@shreyagupta1303
@shreyagupta1303 Жыл бұрын
best teacher ever!! hats off..
@ashvinkumhar5819
@ashvinkumhar5819 Жыл бұрын
As always the best one !!
@Syed_Shahzil
@Syed_Shahzil 6 ай бұрын
Best Explanation, Best Course by the One and only Hero Kunal. Thank you
@LoliceUwU
@LoliceUwU Жыл бұрын
Amazing video Kunal! Tysm! Hope that one day, I can also be almost as good as you 🥸
@devesh819
@devesh819 2 жыл бұрын
You literally rocked it man two two blockbusters in a single day ... Hats off too u for consistency again 👍👍
@raghavmangla2481
@raghavmangla2481 2 жыл бұрын
Great content as always
@hritikapal683
@hritikapal683 2 жыл бұрын
Man you're incredible 2 videos in a day!🙆🏻‍♀️🔥 Hats off to your dedication ❤️
@nalinkhanna3318
@nalinkhanna3318 Ай бұрын
The best OOP Playlist in java
@usenmfonuko3271
@usenmfonuko3271 3 ай бұрын
Thank you so much Kunal
@Krishna-rt5yf
@Krishna-rt5yf 2 жыл бұрын
Just Amazing 🙌🙌
@muhammadabuzar7910
@muhammadabuzar7910 9 ай бұрын
This has been the best DSA course so far for me, I have never loved OOP before🤗
@user-jy1yu4kz9p
@user-jy1yu4kz9p 6 ай бұрын
Notes bhej de bhai
@meetsoni1938
@meetsoni1938 2 жыл бұрын
Thanks kunal 🔥🔥
@sameermd5779
@sameermd5779 2 жыл бұрын
all are awesome lectures
@BackEndGenius
@BackEndGenius Жыл бұрын
Best explanation on Interfaces.
@arshadansariv
@arshadansariv 2 жыл бұрын
You are Probably the best., thank you🤗🙌
@agyaani8060
@agyaani8060 2 жыл бұрын
Loved it❤❤
@amanjain0842
@amanjain0842 Жыл бұрын
great great great explanation of Interfaces using examples
@muhammadumair6443
@muhammadumair6443 10 ай бұрын
i failed in my interview because i did not come across by your channel. I did not know all of the concepts you have taught in this video and interviewer was asking all of these stuff. Now, i will ace that interview next time :) Thanks alot. Best series ever!
@Student-zc7hb
@Student-zc7hb 2 жыл бұрын
Sir thank you so much 🙂😌
@user-hm6mv6bx3e
@user-hm6mv6bx3e 4 ай бұрын
What can I say another great content like everybody knows.🙌
@yashkoolwal196
@yashkoolwal196 2 жыл бұрын
killed it dope explanations helped me a lot!!
@adityaSharma-ib1il
@adityaSharma-ib1il Жыл бұрын
Bro i liked your teaching ways and efforts . Thank you bro
@jamespeterson7824
@jamespeterson7824 Жыл бұрын
Great explanation in easy to understand manner...thanks @kunal
@tusharlokhande4544
@tusharlokhande4544 2 жыл бұрын
Thanks Bro, It Helps me a lot.❤
@anshumanrout6505
@anshumanrout6505 2 жыл бұрын
Beast or what 🔥
@shanteshwarsangave9624
@shanteshwarsangave9624 3 ай бұрын
This is THE BEST COURSE of OOPS on KZbin
@poojasharma-cc5ur
@poojasharma-cc5ur Ай бұрын
Not only OOPS bro , DSA also though some topics like graphs &heaps are not covered. We are waiting for these videos🙃
@nirvattaenterprises3047
@nirvattaenterprises3047 Жыл бұрын
Thanks a lot for these videos
@janvisingh5514
@janvisingh5514 7 ай бұрын
this is the best oops playlist
@wasim_17
@wasim_17 6 ай бұрын
Good video. Explained it nicely.
@valoclips5376
@valoclips5376 Жыл бұрын
Thank you kk...you are awesome
@mandarpandit8786
@mandarpandit8786 2 жыл бұрын
Thank you Kunal ;)
@anayoezeme2585
@anayoezeme2585 2 ай бұрын
Simply amazing.
@TexasUSA606
@TexasUSA606 2 жыл бұрын
Amazing vmrooo!❤️
@vaishnavijahagirdar3835
@vaishnavijahagirdar3835 2 жыл бұрын
Dsa in 15 days!..plz continue..placements going on
@spicy46475
@spicy46475 6 ай бұрын
simply amazing
@parth_chovatiya
@parth_chovatiya Жыл бұрын
1:02:11 Static method can inherited If you declare, another static method with same signature in derived class than the static method of superclass will be hidden, and any call to that static method in subclass will go to static method declared in that class itself.
@uditbhaskar
@uditbhaskar Жыл бұрын
Nice joke buddy, good luck with java.
@mohanprajapati2051
@mohanprajapati2051 Жыл бұрын
@@uditbhaskar The only difference with inherited static (class) methods and inherited non-static (instance) methods is that when you write a new static method with the same signature, the old static method is just hidden, not overridden. If you declare the same method in a subclass, you hide the superclass method instead of overriding it. Static methods are not polymorphic. At the compile time, the static method will be statically linked.
@yashsingh3040
@yashsingh3040 Жыл бұрын
@@uditbhaskar good luck for your java.
@uditbhaskar
@uditbhaskar Жыл бұрын
@@yashsingh3040 Rip english
@ramkrishnaprajapati4384
@ramkrishnaprajapati4384 6 ай бұрын
great to have this..
@subhrajyotidas2569
@subhrajyotidas2569 8 ай бұрын
that car interface explanation was just fabulous!
@amanmaurya8385
@amanmaurya8385 2 жыл бұрын
Bro you are doing amazing work But make sure to put time stamp on every video
@vigyanta94
@vigyanta94 7 ай бұрын
Thanks Kunal 🙏🏽
@34adnanali26
@34adnanali26 2 күн бұрын
this is free and so useful for interviews prep
@SalmanKhan-lx9kp
@SalmanKhan-lx9kp 2 жыл бұрын
Bhai 😍🔥🔥🔥
@dhamotharan1734
@dhamotharan1734 9 ай бұрын
Great man! Thanks for explaining these complex topics
@anjalithakur_12
@anjalithakur_12 Жыл бұрын
Great video enjoyed it
@harsh_Vashisht_
@harsh_Vashisht_ 7 ай бұрын
Thanks Kunal
@Cono314da
@Cono314da Жыл бұрын
@KunalKushwaha, at 23:15 why cant it be "final int VALUE = 30;", rather than value being initialized in the constructor?
@SaddestMoments01
@SaddestMoments01 6 ай бұрын
You're really a cause of prideness of India..
@mayurrokade5712
@mayurrokade5712 Ай бұрын
The best video.
@432prameela3
@432prameela3 Жыл бұрын
Thank you ❤️
@amitkumarsharma5710
@amitkumarsharma5710 Жыл бұрын
exact at 12:13 Kunal just thought of his love😍
@anubhavgarg1728
@anubhavgarg1728 11 ай бұрын
At 50:20 I wanna know why did we create a reference of Engine interface in NiceCar class? I have a possible explanation but not sure if it is right. According to me we did that because we have also created a constructor which instantiates the engine interface reference to an object of a concrete class which has implemented the engine interface. Thus, if we simply create a reference of engine interface then we are going to be able to assign it to an object of any class which has implemented the engine interface eg Upcasting will handle the implicit casting of an object of a class type such as ElectricEngine to a reference of Engine interface. In other case if we create a reference of class such as powerEngine then at the instantiation time when we try to access the constructor and assign this reference variable to an instance of Electric Engine type, it will simply display an error.
@saileelakrishna329
@saileelakrishna329 2 жыл бұрын
Thanks for your explanation in English....
@vineela-meduri
@vineela-meduri 6 ай бұрын
Hi Kunal, can you please include topics related to comparable, comparator, finalize and finally??
@prasoonagrawal6072
@prasoonagrawal6072 2 жыл бұрын
as always maza a gya
@mohamedabdulla8097
@mohamedabdulla8097 Жыл бұрын
Great video.
@arshansari458
@arshansari458 2 жыл бұрын
Thanks bhaiya U read comments ,so if u read it could you tell me What will you follow in python+ML like tensorflow stuff or different??
@skmemes-kl1bd
@skmemes-kl1bd Ай бұрын
Nice one ❤
@shravanak2971
@shravanak2971 Жыл бұрын
In GMS screen select appes and then select Analog app 1 TE. That worked out for .
@vishalkumaranand3279
@vishalkumaranand3279 Жыл бұрын
47:50 Brother, if you made different classes that implements different interfaces then how it remains multiple inheritance ,what was the purpose of interfaces? Please explain.
@-AnveshSamrit
@-AnveshSamrit 11 ай бұрын
I have a doubt that how its solving that was occured in multiple inhertance , like media also has void start() and engine also has void start() but it's showing only one , not two . then what if I want to implement it for media
@sai644
@sai644 11 күн бұрын
thank you so much!!!!!!!!!!
@xzist2342
@xzist2342 2 ай бұрын
Thanks alot
@sudarshan3901
@sudarshan3901 Жыл бұрын
Great video
@DivyanshGemini
@DivyanshGemini Ай бұрын
@KunalKushwaha *Not getting AutoGenerated English subtitles in any of your video.* (May be due to video language set to Hindi)
@ashutoshrudraksh2977
@ashutoshrudraksh2977 Жыл бұрын
It's a great morning! 😇#DSAwithKunal
@user-ky5uf6dt4z
@user-ky5uf6dt4z 3 ай бұрын
Good One 🤟
@sravansunkara9145
@sravansunkara9145 Жыл бұрын
thank you very much
OOP 3 | Principles - Inheritance, Polymorphism, Encapsulation, Abstraction
2:12:51
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН
ISSEI funny story😂😂😂Strange World | Pink with inoCat
00:36
ISSEI / いっせい
Рет қаралды 25 МЛН
ОДИН ДОМА #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Она Постояла За Себя! ❤️
00:25
Глеб Рандалайнен
Рет қаралды 4,6 МЛН
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 461 М.
OOP 4 | Access Control, In-built Packages, Object Class
50:45
Kunal Kushwaha
Рет қаралды 146 М.
Java's Creators Rejected Multiple Inheritance - Here's Why
13:14
Coding with John
Рет қаралды 66 М.
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,2 МЛН
Abstract Class In Java Tutorial #79
8:55
Alex Lee
Рет қаралды 530 М.
The Easiest Way to Fine-Tune Large Language Models (LLMs)
0:52
Kunal Kushwaha
Рет қаралды 10 М.
Binary Search Interview Questions - Google, Facebook, Amazon
4:01:46
Kunal Kushwaha
Рет қаралды 1,1 МЛН
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 35 МЛН