#61 Abstract Keyword in Java

preview_player
Показать описание
Check out our courses:

Coupon: TELUSKO10 (10% Discount)

Coupon: TELUSKO20 (20% Discount)

Udemy Courses:

For More Queries WhatsApp or Call on : +919008963671

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.

More Learning :

Donation:
PayPal Id : navinreddy20
Рекомендации по теме
Комментарии
Автор

You explain 600x better than my professor.

rin_
Автор

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.

sohampatel-bmgt
Автор

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!

fatih
Автор

Joy to watch you Navin. Thank you for the videos and your time.

neocoretec
Автор

we as a community must create a abstract class called "teachLikeNavin" and every teacher must extend it so that the world develop much faster.

hariharanrp
Автор

Your explaination was very help to gain the knowledge and understanding the subject in an easy manner

bhanukummaragunta
Автор

Mind = Blown 🎉❤😊 this lecture was very interesting!

ramaarahatekar
Автор

You are too good, I really like the way you explain things.

bellowajiuolarewaju
Автор

a great, detailed playlist every concept is explained very easily

powerbroker
Автор

Keep going! these videos are amazing and really helpful 😇

gayatribagul
Автор

You explain java the way that no one can.... great

asmshahriershuvo
Автор

Superb explanations with examples.clearing all my doubts.

wgudhhn
Автор

Thanks, Navin, for your clear explanation of Abstract class. It really helped me understand.

fatemehsalem
Автор

one think i like the most about you is how humble are you 🎉

pakistaninsaudi
Автор

Sir .. Fast & Furious 7 .. Mv Name 🙃🙃 .... Car Jumped From 1 Building To Another Building There .. Transporter 2 Also Has The Same Scene I Guess 🙃 ...

NahidSRK
Автор

Your explanation give a very clear understanding about the concepts without any doubt thank you so much sir

sindhurar
Автор

Thanks 😊👍 very much sir. Your explanation easily to understand.

hesaradinal
Автор

The movie is fast and furious right sir??😁

molinduachintha
Автор

thank you so much for million dollar explanation sir

anupam
Автор

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

haleemasadiya