Content deleted Content added
→Terrible Formatting and Flow: sarcasm |
|||
Line 103:
::*"For instance, one might have a <code>Vehicle</code> class that has a ''name'' and the ability to perform ''drive to work'' and ''deliver construction materials''."
::::'''Classes don't ''have'' a ''name''! They specify that ''objects'' of that class have a name.'''
Also, the porche example is terrible. There could be thousands of 911s. This is a better example of a subclass than an instance. Maybe something like hockey players:wayne gretzky. Every instance of a class is different. There can never be two that are exactly the same. I know what your thinking. All the feilds could have hte same value - not the same.
At least refer the reader to possibly better information; I stopped my improvements when I realized the problems were systemic. How can you possibly program properly when your ideas are so muddled? Perhaps that's why:
|