#61 Abstract Keyword in Java

  Рет қаралды 130,008

Telusko

Telusko

Жыл бұрын

Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : bit.ly/java-spring-cloud
Udemy Courses:
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
Java For Programmers:- bit.ly/javaProgrammers
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusko.com/
In this lecture we will learn:
- What is Abstraction?
- Abstract method in Java
- Abstract class in Java
- Abstract vs Concrete classes
#1
Abstraction is a process of hiding the implementation details and showing only functionality to the user.
#2
Abstract method:-
- Instead of defining the method, we can declare the method.
- If we put a semicolon at the end of a method, it means that you only declare the method like:
public void drive();
- This method does not contain any features and you will not be able to create an object of it.
- You need to add an abstract keyword to only declare a method.
#3
Abstract class:-
- Abstract methods can only be defined in an abstract class.
- We need to add an abstract keyword before a class to make it an abstract class.
- Objects of an abstract class can not be created.
- If you are extending an abstract class, then it is compulsory to define all abstract methods.
- It is not necessary that an abstract class should have an abstract method.
- Abstract class can have an abstract or a normal method or both.
- An abstract class can have more than one abstract method.
#4
Concrete class: A class other than an abstract class is known as a concrete class.
- An object of a concrete class can be created.
Github repo : github.com/navinreddy20/Javac...
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com

Пікірлер: 67
@rin_645
@rin_645 Жыл бұрын
You explain 600x better than my professor.
@ShubhamSingh-jx1ip
@ShubhamSingh-jx1ip Жыл бұрын
You are right
@santhosh-benz7
@santhosh-benz7 Жыл бұрын
😂
@a45rohitphatak42
@a45rohitphatak42 Жыл бұрын
1000 times better than my professor.
@himrankhan8589
@himrankhan8589 9 ай бұрын
so sad on you 😂
@jaisharma413
@jaisharma413 7 ай бұрын
@@ShubhamSingh-jx1ipthats why he is global mentor and teachers r still teaching in collages 😂
@sohampatel-bm7gt
@sohampatel-bm7gt 9 ай бұрын
You are the best teacher. This is what happens when masters of the subject explains. The most interesting thing is that you clear the doubts and put yourself in the shoes of a student.
@fatih5454
@fatih5454 Жыл бұрын
Thank you so much for these priceless videos. I can not thank you enough for the quality and the efficiency of your ways of explaining concepts. I am a newbie computer science student and you are basically saving my life! I am really glad that I found your channel, will recommend to any newcomers who are trying to learn concepts in computer science in the future. Thanks a lot!
@neocoretec
@neocoretec Жыл бұрын
Joy to watch you Navin. Thank you for the videos and your time.
@hariharanrp400
@hariharanrp400 5 ай бұрын
we as a community must create a abstract class called "teachLikeNavin" and every teacher must extend it so that the world develop much faster.
@vijayshankerp
@vijayshankerp 3 ай бұрын
Thanks
@ramaarahatekar1570
@ramaarahatekar1570 Жыл бұрын
Mind = Blown 🎉❤😊 this lecture was very interesting!
@bhanukummaragunta498
@bhanukummaragunta498 Жыл бұрын
Your explaination was very help to gain the knowledge and understanding the subject in an easy manner
@bellowajiuolarewaju1336
@bellowajiuolarewaju1336 Жыл бұрын
You are too good, I really like the way you explain things.
@asmshahriershuvo2272
@asmshahriershuvo2272 Жыл бұрын
You explain java the way that no one can.... great
@powerbroker8055
@powerbroker8055 8 ай бұрын
a great, detailed playlist every concept is explained very easily
@fatemehsalem3850
@fatemehsalem3850 4 ай бұрын
Thanks, Navin, for your clear explanation of Abstract class. It really helped me understand.
@user-wg6ud3hh1n
@user-wg6ud3hh1n 7 ай бұрын
Superb explanations with examples.clearing all my doubts.
@NahidSRK
@NahidSRK Жыл бұрын
Sir .. Fast & Furious 7 .. Mv Name 🙃🙃 .... Car Jumped From 1 Building To Another Building There .. Transporter 2 Also Has The Same Scene I Guess 🙃 ...
@gayatribagul2008
@gayatribagul2008 Жыл бұрын
Keep going! these videos are amazing and really helpful 😇
@sindhurar2804
@sindhurar2804 5 ай бұрын
Your explanation give a very clear understanding about the concepts without any doubt thank you so much sir
@pakistaninsaudi
@pakistaninsaudi 5 ай бұрын
one think i like the most about you is how humble are you 🎉
@molinduachintha5375
@molinduachintha5375 Жыл бұрын
The movie is fast and furious right sir??😁
@hesaradinal275
@hesaradinal275 9 күн бұрын
Thanks 😊👍 very much sir. Your explanation easily to understand.
@iam_robinroy
@iam_robinroy Жыл бұрын
Your lectures need more likes😍🎉
@jaypople8885
@jaypople8885 10 ай бұрын
What an explanation 😍😍
@sonamohialdin3376
@sonamohialdin3376 Жыл бұрын
So good tutorial thank you
@anupam6045
@anupam6045 Ай бұрын
thank you so much for million dollar explanation sir
@mainframecoding5038
@mainframecoding5038 Жыл бұрын
good explaination sir jii
@user-yf5xs2zf5l
@user-yf5xs2zf5l 3 ай бұрын
Thank you . Well explained
@idocoding2003
@idocoding2003 5 ай бұрын
💯 👌. This is amazing
@alwaysrich9327
@alwaysrich9327 Жыл бұрын
Thank you ☺️
@vajrakowtilyab4822
@vajrakowtilyab4822 12 күн бұрын
Thank you sir
@haleemasadiya4054
@haleemasadiya4054 7 ай бұрын
SIR CAN YOU PLEASE MAKE A VIDEO ON WHAT SOFTWARE YOU ARE USING AND HOW TO INSTALL IN ON MAC OS SPECIFICALLY,IT WOULD BE A GREAT HELP
@mulugetaayalew5779
@mulugetaayalew5779 Жыл бұрын
thank you.
@user-mt1uz4kj3c
@user-mt1uz4kj3c 3 ай бұрын
Hi Navin, I have a doubt. There should be one abstract method inside the abstract class to call it an abstract class right? Correct me if i am wrong. Thank you
@samad8906
@samad8906 Жыл бұрын
There is not even a 1% that i didn't understood Perfect 👍
@manchikatlamukeshchandra5799
@manchikatlamukeshchandra5799 Ай бұрын
what is the use of this topic and its applications
@krishlodha1503
@krishlodha1503 Жыл бұрын
Well explained. Easy to understand. I just have one doubt, why do you add the "x:" while Printing anything?
@ktylodon
@ktylodon 3 ай бұрын
it's default from the IDE - vscode extension
@navyaongolu3758
@navyaongolu3758 Жыл бұрын
How can we perform expilicity
@thaltejblues
@thaltejblues 4 ай бұрын
thank you
@roopad2031
@roopad2031 Жыл бұрын
When a class is abstract without any abtract methods and having only normal methods. Then how to access those methods as we cannot create an obj for abstract class.. please clarify this Navin
@adarshmishra4332
@adarshmishra4332 Жыл бұрын
Create a dummy class that extends the abstract class.
@RajKumar-mv6om
@RajKumar-mv6om Жыл бұрын
He is discussing about a car and then google provides you with a advertisement of a car🤣
@siddheshmahadik6921
@siddheshmahadik6921 5 ай бұрын
Very nice
@divya.d6049
@divya.d6049 Жыл бұрын
ur laughing is beautiful sir😜
@start1learn-n171
@start1learn-n171 4 ай бұрын
Tq
@ronatkumarmuni4076
@ronatkumarmuni4076 7 ай бұрын
Do you have MG Commet
@anasakd8494
@anasakd8494 9 ай бұрын
which platform are you using for coding?
@Aviation169
@Aviation169 9 ай бұрын
VS code
@amkamk3297
@amkamk3297 Жыл бұрын
Bro. Your channel name is expressing that you telugu language. Is it right??
@nafisnawalnahiyan5032
@nafisnawalnahiyan5032 6 ай бұрын
the movie name is Fast & Furious :p
@MohammadKhan-ld1xt
@MohammadKhan-ld1xt Жыл бұрын
Why can we not create the method drive in the wagonR method rather than declaring it in the parent abstract class. Then we wont need to have the concept of abstract . Can someone pls explain ...
@sachinkhatri1077
@sachinkhatri1077 Жыл бұрын
Suppose u create a shooting game in which u must have a gun which has some properties and function. Like shooting damage recoil control. In abstract class u create only method for gun but not defined and other class must have to override it and create a method for this according to guns like akm has different properties. Now suppose in new update u introduced a new gun with different functions now its compulsory to u to override parent class method and define it again according to your new gun. I hope u understand this example.
@telugufreaks14206
@telugufreaks14206 8 ай бұрын
Sure sir I think the movie name is julayi
@sohampatel-bm7gt
@sohampatel-bm7gt 9 ай бұрын
You also look like J Sai Deepak.
@yuv09
@yuv09 Жыл бұрын
Uttar Pradesh ki bhasa m bole to, "Bhai Ek Number"
@yuv09
@yuv09 Жыл бұрын
I can recall Pure virtual function in C++
@riteshpatel3196
@riteshpatel3196 7 ай бұрын
Sir why wagonR why not Gwagon
@TheGloriousOne0
@TheGloriousOne0 29 күн бұрын
@animeshjain5137
@animeshjain5137 2 ай бұрын
0:33 I'm one of those lol 😅
@anirudhsingh7154
@anirudhsingh7154 Ай бұрын
movie name fast and furious 7
@shreekoshti9776
@shreekoshti9776 7 ай бұрын
Oh i thought G-Wagon 😅
@Aaron_Patrick_2004
@Aaron_Patrick_2004 7 ай бұрын
joke of the day i want a car to fly...😂😂😂
@InsufferableMoron
@InsufferableMoron 4 ай бұрын
Then sir isnt it exactly like interface??
#62 Inner Class in Java
5:41
Telusko
Рет қаралды 87 М.
Upcasting and Downcasting in Java - Full Tutorial
10:22
Coding with John
Рет қаралды 168 М.
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 29 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 56 МЛН
L03 - COMPSCI 1XC3
2:13:58
pedram pasandide
Рет қаралды 58
#65 Need of Interface in Java
8:32
Telusko
Рет қаралды 113 М.
#58 Object Class equals toString hashcode in Java
12:00
Telusko
Рет қаралды 94 М.
#60 Wrapper Class in Java
8:08
Telusko
Рет қаралды 157 М.
Java abstraction 👻
5:30
Bro Code
Рет қаралды 127 М.
#66 What is Interface in Java
8:03
Telusko
Рет қаралды 173 М.
Abstraction Can Make Your Code Worse
5:13
CodeAesthetic
Рет қаралды 627 М.
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 140 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,7 МЛН
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 118 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 23 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 53 МЛН
Что не так с раскладушками? #samsung #fold
0:42