Programming Languages Quick Check 3 of 53 of 5 Items Question Which of the following is a correct description of object-oriented programming (OOP)?(1 point) Responses Any language that uses functions and variables is an OOP language. Any language that uses functions and variables is an OOP language. OOP facilitates inheritance allowing all objects to access methods from all other classes. OOP facilitates inheritance allowing all objects to access methods from all other classes. OOP facilitates encapsulation allowing all the relevant information and functions to be kept in one package. OOP facilitates encapsulation allowing all the relevant information and functions to be kept in one package. OOP languages are based on machine code segments converted into high-level language objects. OOP languages are based on machine code segments converted into high-level language objects. Skip to navigation page 9 of 9

1 answer

The correct description of object-oriented programming (OOP) from the given options is:

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

While inheritance is a feature of OOP, all objects do not necessarily have access to methods from all other classes due to access modifiers and encapsulation principles. The other statements provided are either too broad or incorrect regarding the definition and principles of OOP.