Forgot your password?  

Not What You Meant?  There are 4 definitions for Subclass.

Derived Class | Research & Encyclopedia Articles

Print-Friendly   Order the PDF version   Order the RTF version
About 1 pages (216 words)
Subclass (computer science) Summary

 


Derived Class

The term derived class relates to the inheritance of data and functions from a base class (which can also be referred to as a superclass). The derived class is a specialization of the base class. It contains all the features of the base class plus additional features unique to it.

Derived classes assume a prominent role in object-oriented programming design. In object-oriented programming each object has defined properties, which allows the object to assume a set function. The properties, and the corresponding function of an object, should be unique from those of other objects. However, objects can form groups with a common theme. This relatedness of objects can be beneficial in terms of programming function and programmers' time. Faced with this similarity, but needing to preserve the uniqueness of objects, the formation of derived classes preserves both grouping similarity and functional uniqueness.

The increased specialization of a derived class, relative to the parental base class, can be created in two ways. One way is by the addition of new data or functions of the data. The other way is by modifying the functions that are already in place.

Another invocation of the term subclass is in the Java programming language. Specifically, related applets--mini-programs that operate within another program--can be generated by creating applet subclasses from an applet class.

This is the complete article, containing 216 words (approx. 1 page at 300 words per page).

Ask any question on Subclass (computer science) and get it answered FAST!
Answer questions in BookRags Q&A and earn points toward
discounted or even FREE Study Guides and other BookRags products!
Learn more about BookRags Q&A
Copyrights
Derived Class from World of Computer Science. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.

Join BookRagslearn moreJoin BookRags

Join BookRagslearn moreJoin BookRags