Upload
774474
View
25
Download
0
Embed Size (px)
Citation preview
Presentation of Overloading,
Overriding & Abstract Class
What Is Constructor?
Having Same name as class name.
2 types of Constructor:
* Default
* Parameterized
Constructor Overloading?
Constructors having same name but
with different parameterized.
What is function overloading?
Two or more function having same
name but with different parameters.
What is Function Overriding?
Functions having same name but in
different classes.
There are 2 methods to prevent
overriding:
* Using Super keyword
* with the use of Final keyword
What is Abstract Class?
Undefined functions should start with
Abstract Keyword.
We can’t create the object to call the
function of that class.
Thank YOu