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
Andrews [41]
4 years ago
7

If the derived class does not override a public member function of the base class, you may specify a call to that public member

function by using the name of the function and the appropriate parameter list. True or False?
Computers and Technology
1 answer:
Jlenok [28]4 years ago
5 0

Answer:

The answer to this question is "True".

Explanation:

The term function overriding is a part of the object-oriented programming language. The overriding refers to override the method which is defined in the base class for override the same method we use the inheritance.

In overriding if a derive class(child class) does not allows us to override a function to there base class (parent class).So, we call this method in main method.

For example:

#include <iostream> //header file.

using namespace std;

class base  //define class base.  

{

public:

void display(string s)  //define method display.

{ //method body.

cout<<"hello.."<<s;  //print value.

}

};

class child:public base  //define class child that inherit base class

{

public:

void display(string s)  //override method display.  

{

cout<<"Hii....!"<<s; //print value.

}

};

int main()  //main method.

{

string s="XXX";

child ob;  //create child class object.

ob.display(s);  //call method.

return 0;

}

Output:

Hii....! XXX

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

You might be interested in
To carry computer data over the long haul, wans need to have a(n) ________ in multiple towns and cities.
nika2105 [10]
<span>To carry computer data over the long haul, wan need to have a </span>POP (point of presence) <span>in multiple towns and cities. It is a</span><span>n artificial demarcation point OR interface point between communicating entities</span>


3 0
4 years ago
In this assignment, you will need to design a complete Black-Box testing plan for the following program. A computer science stud
murzikaleks [220]

Answer: sorry i need points to ask a question hope u understand...

Explanation:

8 0
3 years ago
I am stuck on these 2 questions. Can someone help me please?
Debora [2.8K]

Answer:

My answer could not be submitted because of some signs and symbols in my solution.

So, I've added the answer and a comprehensive explanation as an attachment.

Note that the question is answered using Python programming language.

Explanation:

Lines that start with # are used to explain the program

<em>See attachment</em>

Download txt
5 0
3 years ago
You want to use the randrange() method. Which line will allow you to enter the following code in IDLE?
AleksandrR [38]

Answer:

It depends on the situation

import "from random import randrange"

for printing random numbers between integers "random.randrange(num1, num2"

Syntax:

"random.randrange(start, stop, step)"

Parameter Values:

start - optional - an integer defining which position to start - default = 0

stop - required - an integer defining which position to end.

step - optional - an integer define the incrementation - default = 1

Explanation:

The syntax is a bit weird but I hope I was a help

5 0
3 years ago
Read 2 more answers
Before her shift as a cashier at the grocery store, Carla pulls her hair back into a ponytail and makes sure her fingernails are
Kobotan [32]

Answer:

is shows that the cashier has a good habit and has a good sense of hygiene

3 0
3 years ago
Other questions:
  • What is an efficiency target? Give an example of setting an efficiency target
    11·1 answer
  • Why is operating system pivotal in teaching and learning
    11·1 answer
  • On a piano, a key has a frequency, say f0. Each higher key (black or white) has a frequency of f0 * rn, where n is the distance
    10·1 answer
  • What nuclear remediation site had their computers wiped clean by notpetya?
    15·1 answer
  • Cookies Are Us runs a series of 100 cookie stores across the Midwestern United States and central Canada. At the end of each day
    13·1 answer
  • Among us Question. Worth 15 Points.<br> Which Vents do the Admin Vents Connect?
    14·2 answers
  • Write a function called changeCharacter that takes three parameters – a character array, its size, and the replacement character
    15·1 answer
  • Digital rights include the right to
    12·1 answer
  • Pls paanswer asap......​
    10·1 answer
  • When creating an html document, what do we use to set aside space for content?.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!