Explore IDNLearn.com's extensive Q&A database and find the answers you need. Get thorough and trustworthy answers to your queries from our extensive network of knowledgeable professionals.

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

Sagot :

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.

What is superclass?

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.

What is subclass?

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

https://brainly.com/question/19260275

#SPJ1