Module 13
Can Tardiness Be Inherited? PIGFORD July 31, 2011 7:42 PM
I've looked at the posts, and can not find a way to intelligently say anything new. I went to a Microsoft
Server 2003 course at the beginning of the month, and the concept of inheritance was talked about. To
me, the same concepts exist. Properties of programs can be inherited and used to save time and to
make sure the programmer is using a program that has already been proven successful instead of using
trial and error.
Module 13
Inheritance allows for a class to be the root and subclasses to branch off from it 2 ROOKER July 31,
2011 11:26 AM
The great thing about inheritance is that it is the root that allows other subclasses to branch off from it.
This means that the traits and abilities of the root class can be shared and passed onto subclasses, which
in essence allows you to add features to the subclass without having to plant a new root. I hope that
makes sense.
Module 13
Concept of inheritance 3 CULBERT July 26, 2011 1:14 AM
The concept of inheritance is that its an object oriented feature supported by Java. It creates a parent
child relationship between the 2 classes. Class Inheritance in java mechanism is used to build new
classes from existing classes. One of the key benefits of inheritance is to minimizes the amount of
duplicate code in an application. Results in better organization of code and simpler compilation units.
Module 14
Overriding and Overloading 3 ( 1 Unread ) ZZUCCO July 30, 2011 9:52 PM
How I distinguish the difference between overloading and overriding is by their signatures. In
overloading you have more than one method using the same name, the difference between the
methods is the number of arguments each one has. Making their signatures different. In overriding you
have the same exact signature of a method in both a super and subclass using the subclasses method to
override the data of the superclass. Advantages are this saves you additional code writing thus saving
you time.
Module 14
Similiar but different. FOX July 31, 2011 12:33 AM
Overloading is used when you want to have multiple ways to pass data to a class(maybe only pass 2
variables instead of 3). Overriding is when you want the sibling class to have a method of the same
name, passing the same number and type of variables but act different than the original aka overriding
it.
Module 14
Overloading vs.overrriding 3 ( 2 Unread ) STARUNOV July 31, 2011 9:22 PM
Basically, the two serve different purposes.
Overloading is good for introducing polymorphism. Calling same method name will have different
meanings for different (sets of) arguments.
Overriding will help you to adjust an existing class to a new application. It allows you to keep an existing
class and replace its method(s) that do(es) not serve your goals
Module 15
Hard or Harder!!! WHEATLEY August 2, 2011 10:21 PM
Overall objected oriented programming has been great, I would like to add that without learning the
traditional part of programming I dont think I could of had the understanding that I do now. I think the
advantages of both help you understand how applications work and how things in life as we know it are
performed. The disadvantages are that without one it would be hard to understand the other. Overall I
think working with both gives you the best of both worlds the hard with the not so hard.