OOP Junior

1 / 4

What is encapsulation?

Select the correct answer

1

Encapsulation is the method of overloading functions in OOP

2

Encapsulation is a type of polymorphism used 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 type of function, and an object is a type of class

3

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

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

Planning, Analysis, Design, and Implementation

2

Compilation, Interpretation, Debugging, and Testing

3

Modularity, Concurrency, Flexibility, and Reusability

4

Encapsulation, Inheritance, Polymorphism, and Abstraction

What is object-oriented programming (OOP)?

Select the correct answer

1

A method for processing large sets of data

2

A way of structuring software using functions

3

A type of database management system

4

A programming paradigm based on the concept of objects