#046

Publicado el: 04 julio 2023
en el canal de: Programming Heist (Professor)
68
4

In this video we will discuss

Abstract Classes
----------------

Q1. What is dictionary meaning of abstract?
A1. existing only as an idea, not as a physical thing.


Q2. What is a abstract method?
A2. A method without body is known as abstract method.

For Example

void area();


Q3. What is abstract class?
A3. If a class contains one or more abstract methods then class is known as abstract class.
It may have both abstract and non-abstract methods(methods with bodies).
It can have constructors and static methods also.
It cannot be instantiated.(We cannot create the object of abstract class).
Although abstract classes cannot be used to instantiate objects, they can be used to create object references.


Q4. Why to create abstract class?
A4. It ensure user, to provide the implementation.
when a superclass is unable to create a meaningful implementation for a method.

Link for programs used in this video

https://github.com/krishankansal/Java...

Link for complete play list

   • Java for complete beginners (Hindi): [Runn...  


En esta página del sitio puede ver el video en línea #046 de Duración hora minuto segunda en buena calidad , que subió el usuario Programming Heist (Professor) 04 julio 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 68 veces y le gustó 4 a los espectadores. Disfruta viendo!