0% found this document useful (0 votes)
35 views7 pages

Object Oriented Programing

The document discusses object oriented programming concepts like abstraction, data abstraction, control abstraction, abstract classes, and abstract methods. It explains that abstraction helps reduce complexity and defines various concepts like abstract classes that can contain abstract and normal methods.

Uploaded by

Xuong Hoan Hang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views7 pages

Object Oriented Programing

The document discusses object oriented programming concepts like abstraction, data abstraction, control abstraction, abstract classes, and abstract methods. It explains that abstraction helps reduce complexity and defines various concepts like abstract classes that can contain abstract and normal methods.

Uploaded by

Xuong Hoan Hang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

OBJECT ORIENTED PROGRAMING

 Abstraction is selecting data from a larger pool to show only the relevant details to the
object. It helps to reduce programming complexity and effort.
 The viewed interface is as simple as possible.
 Example:

vs

2
 Data Abstraction: hiding the details about the data type
 Example: Array class
 Control (Procedural) Abstraction: hiding implementation details of procedure
from the user.
 Example: Abstract class, Interface

3
 Abstract class
A class which is declared “abstract” is called as an abstract class. It can have abstract methods and
normal methods. A normal class cannot have abstract methods.
 Abstract method
It must be declared in an abstract class, and abstract method not body

4
5
 The main benefit of using an abstract class is that it allows you to group several
related classes as siblings.
 Abstraction helps to reduce the complexity of the design and implementation
process of software.

6
7

You might also like