Recent questions tagged object-oriented-programming

2.0k
views
1 answers
1 votes
Match the following with respect to I/O classes in object oriented programming $:$\begin{array}{clcl} & \textbf{List - I}&& \textbf{List - II} \\ \text{a.} & \text{fopen()} & \text ... a-ii, b-iii, c-iv, d-i}$\text{a-iv, b-iii, c-i, d-ii}$
1.8k
views
2 answers
0 votes
The control string in $C\text{++}$ consists of three important classifications of charactersEscape sequence characters, Format specifiers and ... Non-white space charactersSpecial characters, White-space characters and Format specifiers
7.2k
views
2 answers
4 votes
If a class $C$ is derived from class $B$, which is derived form class $A$, all through public inheritance, then a class $C$ member function can accessonly protected and ... $B$public and protected data of $A$ and $B$ and all data of $C$
5.2k
views
1 answers
0 votes
A friend function can be used toAvoid arguments between classes.Allow access to classes whose source code is unavailable. Allow one class to access an unrelated class. None of the above
7.2k
views
3 answers
4 votes
The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, isInheritancePolymorphismOverfunctioningOverriding
980
views
0 answers
0 votes
1.3k
views
2 answers
5 votes
Consider the class of object oriented languages. Which of the following is true?Pascal is an object oriented language.Object oriented ... declarative programming languages.Parallelism cannot be realized in object oriented languages.
4.8k
views
2 answers
6 votes
Match the following concepts and their best possible descriptions. Concept Descriptioni.overloadinga.allows to define a class to have properties of another classii.friendb.defining a set of similar ... vi-di-b, ii-e, iii-c, iv-f, v-g, vi-s
6.1k
views
4 answers
11 votes
Which one of the following are essential features of an object-oriented programming language?Abstraction and encapsulationStrictly-typednessType-safe property coupled with sub-type ... and IV onlyI, II and IV onlyI, III and IV only
23.0k
views
3 answers
14 votes
It is desired to design an object-oriented employee record system for a company. Each employee has a name, unique id, and salary. Employees belong to different categories and their ... IV, VI, VIIII, IV, VIII, III, V, VI, VIIIII, V, VIII