Which of the following is a correct description of object-oriented programming (OOP)?

a. OOP facilitates encapsulation allowing all the relevant information and functions to be kept in one package.

b. Any language that uses functions and variables is an OOP language.

c. OOP languages are based on machine code segments converted into high-level language objects.

d. OOP facilitates inheritance allowing all objects to access methods from all other classes.

1 answer

a. OOP facilitates encapsulation allowing all the relevant information and functions to be kept in one package.