OOP Junior

1 / 4

What is encapsulation?

Select the correct answer

1

Encapsulation is a type of polymorphism used in OOP

2

Encapsulation is the method of overloading functions in OOP

3

Encapsulation is the process of inheriting properties from another class

4

Encapsulation is the bundling of data and methods that operate on the data

What is the difference between a class and an object in OOP?

Select the correct answer

1

A class is a method of encapsulation, while an object is a method of inheritance

2

A class is a collection of functions, and an object is a collection of variables

3

A class is a type of function, and an object is a type of class

4

A class is a blueprint, while an object is an instance of the class

What are the core concepts of OOP?

Select the correct answer

1

Modularity, Concurrency, Flexibility, and Reusability

2

Planning, Analysis, Design, and Implementation

3

Encapsulation, Inheritance, Polymorphism, and Abstraction

4

Compilation, Interpretation, Debugging, and Testing

What is object-oriented programming (OOP)?

Select the correct answer

1

A type of database management system

2

A programming paradigm based on the concept of objects

3

A method for processing large sets of data

4

A way of structuring software using functions