Q:

What is the Usage of Android Super Class?

friends,
any one guide me what is the purpose of Super class in android i have seen in many
@Override methods. for example
@Override
        protected void onProgressUpdate(final Object... args) 
         {   super.onProgressUpdate(args);
}

@Override
        protected void onPostExecute(Boolean result) {
            super.onPostExecute(result);
}

@Override     
        protected void onPreExecute() {
            super.onPreExecute();
}

any help would be appreciated.

A:

Using the Keyword super 
Briefly: if you override some method (onProgressUpdate,..) in your class but want to use original one from parent class you use super keyword. 
I recommend you using super as in example to prevent breaking parent class logic.

A:

The superclass of a class is the class that the class was extended from, or null if it wasn't extended.
for example, say you have a class called object, containing an onDestroy() method.
If you then make a class based on object, called textbox, that extends(inherits) object, and thus has all the methods found in object. If you have no onDestroy() specifically for textbox, the onDestroy() inherited from object would get called, if you create your own onDestroy() to override the one from object that one will be called instead.
To make sure you are not missing important functionality that should come with textbox being an object, such as correct memory management when destroying the class, it's important to also do what would be done for an object, not only what you want to do for your textbox, this is done by calling the super.onDestroy(), which in this case would essentially call object.onDestroy(). 

