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
Zanzabum
3 years ago
9

15

Computers and Technology
2 answers:
iVinArrow [24]3 years ago
7 0

I believe that the answer is A: Extension but I am not 100% sure, hope this helps.

Zigmanuir [339]3 years ago
3 0

Answer:

d. Inheritance.

Explanation:

The two classes are book and novel.

Since the class novel is derived from the class book, then the relationship between them (these objects) is inheritance. Inheritance is "is-a" relationship.

In this case, a novel "is a" book.

Inheritance is one of the principles of object oriented programming (OOP) in which a class, called the sub class or child class, derives, extends or inherits features of another class, called the super class or parent class or base class. In other words, in inheritance, a sub class is derived from another class in such a way that these classes have an "is-a" relationship.

In this case, the novel is the sub or child class while the book is the super, base or parent class.

You might be interested in
Write a program called array1.cpp file that use either regular for loop or range based for loop to display the contents of the a
ch4aika [34]

Answer:

The program in C++ is as follows:

#include <iostream>

using namespace std;

void display(int array_test [], int n){

   for(int i = 0; i<n;i++){

       cout<<array_test[i]<<" ";   }

}

int main(){

   int n;

   cin>>n;

   int array_test[n];

   for(int i = 0; i<n;i++){

       cin>>array_test[i];

   }

   display(array_test,n);

   return 0;

}

Explanation:

This defines the display function

void display(int array_test [], int n){

This iterates through the array

   for(int i = 0; i<n;i++){

This prints each element of the array

       cout<<array_test[i]<<" ";   }

}

The main begins here

int main(){

This declares n as integer; n represents the length of the array

   int n;

This gets input for n

   cin>>n;

This declares the array

   int array_test[n];

The following iteration gets input for the array

   for(int i = 0; i<n;i++){

       cin>>array_test[i];

   }

This calls the display function to display the elements of the array

   display(array_test,n);

   return 0;

}

7 0
3 years ago
A man receives a fraudulent email from his bank asking him to confirm his user name and password by going to a particular websit
bonufazy [111]

Answer: The man's info has been found and a hacker was trying to make him confirm his passwrd so he can get a hold of it to hack the man further.

Explanation:

3 0
3 years ago
Smith wants to get a job in network systems. Which major should he choose to give him the best chance of getting a job?
Sever21 [200]
<span>computer engineering</span>
5 0
4 years ago
Read 2 more answers
<img src="https://tex.z-dn.net/?f=%28a%20%2B%20b%29%20%20%7B2%7D" id="TexFormula1" title="(a + b) {2}" alt="(a + b) {2}" align
MariettaO [177]

Answer:

ab2

Explanation:

3 0
3 years ago
What is the key benefit of using RAM in a computer?
Paul [167]
It allows commonly used instructions to be stored for easier access, but the ram gets deleted when ever you restart the computer.
3 0
3 years ago
Other questions:
  • What does the security element of non-repudiation mean in e-commerce cybersecurity? A. Data needs to be available at all times.
    10·1 answer
  • Which computer program did these companies use? fb, Microsoft, Google, LinkedIn​
    10·1 answer
  • Modify your solution to Problem 8.24 so that one (and only one) child installs a Segmentation-fault handler which prints an erro
    10·1 answer
  • You've been hired by Maple Marvels to write a C++ console application that displays information about the number of leaves that
    5·1 answer
  • Pls give me some suggestion of good Computer Science reference books for XI CBSE. <br> PLS!!
    10·2 answers
  • Code a program that will go through all the numbers from 1 to 100 and print them. However, if the number is evenly divisible by
    6·1 answer
  • How to create create a database in mysql using clv files
    11·1 answer
  • Spam is _____.
    8·1 answer
  • Integrated circuits incorporate many transistors and electronic circuits on a single tiny silicon chip, allowing ____ to be even
    15·1 answer
  • Which of the following is NOT a computer peripheral?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!