Westonci.ca offers quick and accurate answers to your questions. Join our community and get the insights you need today. Join our platform to connect with experts ready to provide precise answers to your questions in different areas. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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

Thank you for your visit. We are dedicated to helping you find the information you need, whenever you need it. We appreciate your visit. Our platform is always here to offer accurate and reliable answers. Return anytime. We're here to help at Westonci.ca. Keep visiting for the best answers to your questions.