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
GalinKa [24]
3 years ago
12

A new class of objects can be created conveniently by ________; the new class (called the ________) starts with the characterist

ics of an existing class (called the ________), possibly customizing them and adding unique characteristicsof its own.
Computers and Technology
1 answer:
TiliK225 [7]3 years ago
6 0

Answer:

A new class of objects can be created conveniently by inheritance; the new class (called the superclass) starts with the characteristics of an existing class (called the subclass), possibly customizing them and adding unique characteristicsof its own.

You might be interested in
(20 points) Given a collection of n nuts and a collection of n bolts, arranged in an increasing order of size, give an O(n) time
Blababa [14]

Answer:

Check the explanation

Explanation:

Keep two iterators, i (for nuts array) and j (for bolts array).

while(i < n and j < n) {

if nuts[i] == bolts[j] {

We have a case where sizes match, output/return

}

else if nuts[i] < bolts[j] {

what this means is that the size of nut is lesser than that of bolt and we should go to the next bigger nut, i.e., i+=1

}

else {

what this means is that the size of bolt is lesser than that of nut and we should go to the next bigger bolt, i.e., j+=1

}

}

Since we go to each index in both the array only once, the algorithm take O(n) time.

6 0
4 years ago
Assign True to the variable has_dups if the string s1 has any duplicate character (that is if any character appears more than on
podryga [215]

Answer:

#include <iostream>

using namespace std;

int main()

{

   string s;

   cin>>s;    //reading string

   int i,j;

   bool has_dups=false;

   int n= s.length();

   for(i=0;i<n;i++)  //to check for duplicate characters

   {

       for(j=0;j<n;j++)

       {

           if(j!=i && s[i]==s[j])  //to check if it is matched with itself

           {

               has_dups=true;  //if true no need to check others

               break;

           }

       }

   }

   cout<<has_dups;

   return 0;

}

OUTPUT :

California

1

Explanation:

Above program finds if a character repeat itself in the string entered by user.

4 0
3 years ago
Historically, development of a new technology often:
andrew-mc [135]

Answer:

2. Leads to increases in productivity only once firms learn how to use it.

Explanation:

Technology is an all new or improved way of doing things to enhance effectiveness and efficiency that will lead to increase output. But the new technologies can not improve a business output if they don't grow with the trend of new technologies by updating their knowledge regularly

7 0
3 years ago
Read 2 more answers
Which of the following us considered to be intellectual property? Picturez or images on the internet, books, computers. Ortennis
klasskru [66]
Intellectual property is anything that has been designed, technically all of the above is a form of intellectual property. If only one answer is possible, I believe the best choice is images on the internet.

Speaking for the rest however, literary work is created and therefore the book is as well. Computers are designed so the specifications and design plans are also intellectual property. Same goes for the shoes
4 0
3 years ago
Which of the following lists the stages of the four-stroke engine cycle in the correct order of operation?
kvasek [131]
The answer is (a) Intake, Compression, Power, Exhaust.
The fourth-stroke engine cycle or the commonly known as the four cycle is a type of engine that completes four separate strokes while turning a crankshaft. First is the Intake where the piston begins at TDC. Second is the compression where it begins at BDC and the piston compresses the air-fuel mixture for ignition. Third is combustion where the second revolution of the cycle starts. Last is the exhaust where the piston once again returns to TDC from BDC.
6 0
3 years ago
Other questions:
  • Write a function that takes a string like 'one five two' and returns the corresponding integer (in this case, 152). A function j
    11·2 answers
  • Which method call converts the value in variable stringVariable to an integer?
    8·1 answer
  • Write a subclass named 'ReadWrite' with the following additional behavior: Any necessary constructors. a method named 'setVal' t
    9·1 answer
  • unittttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
    7·1 answer
  • A word object in an excel worksheet to activate the word features
    9·1 answer
  • Which amendment to the Constitution ended slavery in the United States?
    8·1 answer
  • Sam has created a fashion website. There are many subscribers to his website. He has added new blogs, pictures, and articles abo
    13·1 answer
  • What are the disadvantages of using grid analysis to help make decisions?
    13·2 answers
  • Draw a flowchart diagram for a program that displays numbers 1 to 20
    12·1 answer
  • Please I need help.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!