COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is unique to the object-oriented paradigm of programming?
A
Support for abstract data types (ADTs)
B
Support for the concepts of encapsulation and inheritance
C
Support for control structures
D
Support for the practice of code reuse
Explanation: 

Detailed explanation-1: -Which of the following is a unique feature of Object-oriented programming?-They have syntax.

Detailed explanation-2: -Which of the following Paradigm is followed by Object Oriented Language Design? b) Data Controlling access to code. Explanation: Object-oriented programming organises a program around its data(that is, objects) and a set of well-defined interfaces to that data.

Detailed explanation-3: -Object-oriented programming is ultimately about taking a huge problem and breaking it down to solvable chunks. For each mini-problem, you write a class that does what you require. And then-best of all-you can reuse those classes, which makes it even quicker to solve the next problem.

Detailed explanation-4: -There are three major features in object-oriented programming that makes them different than non-OOP languages: encapsulation, inheritance and polymorphism.

There is 1 question to complete.