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
mash [69]
2 years ago
5

How is creating subclass of an existing class different from copying the code from the existing class to a new file?

Computers and Technology
1 answer:
denpristay [2]2 years ago
7 0

The creating subclass of an existing class different from copying the code from the existing class to a new file because one involves  existing class while the other involves a new class.

<h3>What is superclass?</h3>

This is known to be creating a class, instead of  declaring completely new members, then a person often designate that the new class to inherit the members of an existing class - Uses Existing class.

<h3>What is subclass?</h3>

In the creating a class, instead of declaring what we call a completely new members, a person can designate that the new class to be able to inherit the members of an existing class. Uses  New class.

Hence, The creating subclass of an existing class different from copying the code from the existing class to a new file because one involves  existing class while the other involves a new class.

Learn more about subclass from

brainly.com/question/19260275

#SPJ1

You might be interested in
True or false A ClassB fire involves live electrical equipment
MAVERICK [17]
This is false. A Class B fire consists of highly combustible/flammable liquids and gases such as petroleum oil and propane.
4 0
3 years ago
Which of the following C++ statements displays a random number in the range 1 through 10?
lilavasa [31]

Answer:

Option(e)

Explanation:

rand() function results into a random number between 0 to a maximum number RAND_MAX which is a constant. To range it from 1, 1 is added and to decide its maximum value it should be modulo with that number. For example - if a number generated is 56 the 56%10 will be 6 which is in the range of 1 to 10. Option(a) is same as Option (b) because 1 is added and then subtracted which is neutral. Similarly, option (c) is also same.

7 0
3 years ago
What is required to view other users’ calendars in Schedule view? Check all that apply.
Alexus [3.1K]

Answer: A, B, D, E, F

Explanation:

6 0
3 years ago
3k means about 3 thousand bytes. How would you express four trillion bytes?
Elanso [62]
Hello!

Four trillion bytsz will be expressed as "4T".

T stands for trillion.
8 0
3 years ago
Two girls were born to the same mother, on the same day, at the same time, in the same month and the same year and yet they're n
Degger [83]

Answer:

They are not twins but triplets or quadruplets.  

Explanation:

3 0
3 years ago
Other questions:
  • What are ways to enter formula in Excel? Check all that apply
    8·2 answers
  • As a computer science student, which career you will select and what do you predict about the future of that specific IT-Career.
    8·1 answer
  • Which of the following is NOT an e-reader you would use as an alternative to carrying around a set of textbooks?
    13·1 answer
  • Which function can you perform on a word processor but not on a typewriter?
    11·1 answer
  • Mk chưa hiểu nên các bạn giúp mk vs
    14·1 answer
  • It is used to show the program and files that are open.
    12·1 answer
  • Most computers include a network card designed to connect a computer to the net using standard telephone service. True or False?
    11·1 answer
  • What is a key differentiator of Conversational Artificial Intelligence (AI)
    11·1 answer
  • consider l= 5 ,r= 11. you must determine the sum of the values of the function in the range L to R . you have to calculate sum =
    7·1 answer
  • We know that February has either 28 or 29 days, but there is a year in the future, February will have 30 daysWhat exactly is thi
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!