1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
QveST [7]
3 years ago
13

Consider the following class definition: class dClass: bClass { //class members list }; The class dClass is derived from the cla

ss bClass using the ____ type of inheritance.
a. static
b. private
c. protected
d. public
Computers and Technology
1 answer:
Archy [21]3 years ago
7 0

Answer:

The answer to the given question is option "b".

Explanation:

In C++ programming language a private inheritance is one of the aspects to implement the has-a relationship. In this inheritance others access modifiers like public, protected is using as a private member of the derived class with private inheritance. In this programming language by default access modifier is private.

That's why the answer to this question is option "b".

You might be interested in
Why the computer is known as versatile and diligent device ? explain.<br>​
Scrat [10]

Answer:

Computer is called versatile and diligent device because it is used in almost all the fields for various purposes and it can perform the task repeatedly without loosing its speed and accuracy for long time.

5 0
2 years ago
Look at the slide.
svetlana [45]

Answer:

c

Explanation:

5 0
3 years ago
Read 2 more answers
IOS jail broken or Android unrooted which is better to hack with
Ira Lisetskai [31]
IOS Jail Broken - that is more advanced then an android
3 0
3 years ago
According to the video, what types of education are useful for Database Administrators? Check all that apply.
LUCKY_DIMON [66]

Answer:

college degrees and certification.

Explanation

7 0
3 years ago
Read 2 more answers
palindrome is a string that reads the same forwards as backwards. Using only a xed number of stacks, and a xed number of int and
bixtya [17]

Solution :

check_palindrome$(string)$

   lower_$case$_string$=$ string$. to$_lower()

   Let stack = new Stack()

   Let queue = new Queue();

   for each character c in lower_case_string:

       stack.push(c);

       queue.enqueue(c);

   let isPalindrome = true;

   while queue is not empty {

       if (queue.remove().equals(stack.pop())) {

           continue;

       } else {

           isPalindrome=false;

           break while loop;

       }

   }

   return isPalindrome

Input = aabb

output = true

input =abcd

output = false

6 0
3 years ago
Other questions:
  • Consider the following method intended to modify the parameter names by removing all instances of the String n.
    14·1 answer
  • Write a code block to encode strings from original messages, using our custom encoding. To do so: Initialize a variable called c
    6·1 answer
  • At the frequency of 2.4 GHz what is the free-space path loss in dB.
    9·1 answer
  • Consider sending a 2400-byte datagram into a link that has an mtu of 700 bytes. suppose the original datagram is stamped with th
    10·1 answer
  • The GPS device in an automobile uses which communication channel?
    7·1 answer
  • What is dialog box? ​
    7·1 answer
  • What are the main features cyber law of Nepal​
    13·1 answer
  • JAVA
    10·1 answer
  • Jane wants to type a math assignment involving percentages she wants to insert the percent symbol after typing a number which ke
    10·1 answer
  • A machine that converts energy to useful work.
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!