11.2k views
1 vote
Samantha is in the beginning stages of OOP program development. What are the five steps she must follow for creating an OOP program?

2 Answers

3 votes

Answer:

1. Classes and objects

2. Inheritance

3. Polymorphism

4. Data hiding/ encapsulation

5. Interfaces.

Step-by-step explanation:

User Ayyoudy
by
3.3k points
4 votes

Answer:

1. Classes and objects

2. Inheritance

3. Polymorphism

4. Data hiding/ encapsulation

5. Interfaces.

Step-by-step explanation:

Classes and objects depict the major component of the OOP (object oriented programming). It explains the object like a ball in a soccer game development.

The inheritance is like the subclass of the object. Data hiding is a stage in oop where the codes or data are hidden from another users.

In the polymorphism stage, the object is given the ability to change to a sub-object, while in the interface stage a function or method signature is defined without implementing it.

User Mr Sorbose
by
3.5k points