suggest
Subclass (computer science)
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Subclass (computer science)
Go to Feed to see what's new!
+Feed
 
Wikipedia.org
Subclass (computer science) (Wikipedia.org)

In object-oriented programming, a subclass is a class that inherits some properties from its superclass.

You can usually think of the subclass as being "a kind of" its superclass, as in a "a Manx is a kind of cat", or "a square is a kind of rectangle":

  • A cat has fur, four legs, and a tail
    • A Manx cat does not have a tail, but has all of the other characteristics listed above
  • A rectangle has four sides with lengths w and h
    • A square has all of the characteristics of a rectangle; in addition, w = h

In this way, a subclass is a more specific version of its superclass; that is, the facts about the cat state what is generally true for all cats, even if some kinds of cats happen to have no tail. And while all rectangles have four sides, the square has the more restricted feature that all of its sides have the same length.

Don't confuse the subclass-superclass relationship with that of classes and instances. An "instance of cat" refers to one particular cat. The manx cat in the table is still a class — there are many instances of manx cats. And if a particular cat (an instance of the cat class) happen to have its tail bitten off by a fox, that does not change the cat class. It's just that particular cat that has changed.

Subclasses and superclasses are often referred to as derived and base classes, respectively, terms coined by C++ creator Bjarne Stroustrup, who found these terms more intuitive than the traditional nomenclature.

more...
Videos
Refine
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Subclass (computer science)
thenewboston (YouTube)
Go to Feed to see what's new!
share
my users
keep
 
 
135
David Wild
...subclass of dynamic Bayesian networks used for modeling time series data and have been used extensively in many areas of control and signal processing. The parameters of an SSM can be learned ...
21m 59s |
a year ago
Videolectures.net
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Bayesian network
Kalman filter
Computer science
Systems biology
Bayesian inference
Dynamical system
Physical system
Bayes' theorem
Artificial intelligence
Signal processing
Go to Feed to see what's new!
share
my users
keep
 
 
Part 35 - http://www.youtube.com/watch?v=MLkvt2TNxv4what child and parent classes are
5 months ago
Howcast
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Subclass (computer science)
Go to Feed to see what's new!
share
keep
 
 
998
...subclass Elasmobranchii in the class Chondrichthyes. The shark is found in tropical and warm oceans and lives in the open sea and can live for about 70 years. The species is believed to have ...
3m 41s |
a year ago
YouTube
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Whale shark
Scuba diving
Red Sea
Filter feeder
Sinai Peninsula
Sharm el-Sheikh
Fish
Snorkeling
Ancient Egypt
South Sinai Governorate
banyaanyu (YouTube)
Go to Feed to see what's new!
share
my users
keep
 
 
7
...Subclass Pterygota Infraclass Neoptera -- modern, wing-folding insects Order Lepidoptera -- Borboleta, butterflies, Mariposa, moths, papillons, papillons de nuit Superfamily Papilionoidea -- ...
0m 7s |
3 months ago
YouTube
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Red (song)
Inheritance (computer science)
Limenitis arthemis
SaltWaterDiatoms (YouTube)
Go to Feed to see what's new!
share
my users
keep
 
 
148
...subclass (a shark or ray) Rotted dogfish or small shark's head generally sharp-tasting dish of several ingredients grated and pounded together Silphion "laserwort," apparently a kind of giant ...
0m 51s |
a year ago
YouTube
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Aristophanes
Inheritance (computer science)
mbpearce76 (YouTube)
Go to Feed to see what's new!
share
my users
keep
 
 
9
...Subclass Pterygota Infraclass Neoptera -- modern, wing-folding insects Order Lepidoptera -- Borboleta, butterflies, Mariposa, moths, papillons, papillons de nuit Superfamily Papilionoidea -- ...
0m 9s |
3 months ago
YouTube
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Red (song)
Inheritance (computer science)
Limenitis arthemis
SaltWaterDiatoms (YouTube)
Go to Feed to see what's new!
share
my users
keep
 
 
While in Copenhagen recently, I was able to spend some time with computer scientist Peter Sestoft. He's currently a professor at the Copenhagen IT University and he and colleagues have created an ...
a year ago
Channel 9
Keep this video in the "Saved" list
Now, put vTap to work for you!
Let us keep you up to date with new videos related to:
Computer science
Go to Feed to see what's new!
share
keep