OOP Junior

1 / 4

What is encapsulation?

Select the correct answer

1

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

2

Encapsulation is the process of inheriting properties from another class

3

Encapsulation is a type of polymorphism used in OOP

4

Encapsulation is the method of overloading functions in OOP

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

Select the correct answer

1

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

2

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

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

Planning, Analysis, Design, and Implementation

2

Encapsulation, Inheritance, Polymorphism, and Abstraction

3

Modularity, Concurrency, Flexibility, and Reusability

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 way of structuring software using functions

4

A method for processing large sets of data