At Westonci.ca, we make it easy for you to get the answers you need from a community of knowledgeable individuals. Find reliable answers to your questions from a wide community of knowledgeable experts on our user-friendly Q&A platform. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

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