what is superclass, please describe the difference between ordinary class and superclass

what is superclass, please describe the difference between ordinary class and superclass?

Is there difference between Java and C# in term of superclass, I am C# programmer.

Thanks
riscyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GENTPCommented:
It's a class that is inherited by other classe. Same as a base class.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nehayaCommented:
No differenct between Java and C# in the concept of supercalss.. but they differ in the way you call the supercalss
java uses: super.___
c# uses : base.___

so, you look for superclass in Java documentations and for base class in C#..

See these links (for c#)
simple example: http://www.csharphelp.com/archives/archive170.html
http://msdn2.microsoft.com/en-us/library/ms173152(VS.80).aspx

Fahad MukhtarDistinguished EngineerCommented:
>>what is superclass, please describe the difference between ordinary class and superclass?
Before defining superclass let me tell you what is inheritence. Inheritance is a relationship between classes where one class is the parent class of another. Sometimes people refer to the parent class as a base class, superclass, ancestor, etc. When a subclass inherits from a base class it's a "is-a-kind-of" relationship. For example, suppose we have a superclass named Cat with a subclass named Lion. A Lion is-a-kind-of Cat.  So superclass is a class from which 1 or more than one classes are inherited. The derived classes are called subclass or childclass
To see how inheritnce is implementd in c# see:
http://www.csharphelp.com/archives/archive170.html 

>>Is there difference between Java and C# in term of superclass,
There isnt any difference in functionality. Java programmers normally uses the "superclass" term, while c# developers use "base class". But its not the rule of thumb. Read this very informative article regarding the Inheritence differences between the two languages:
http://msdn2.microsoft.com/en-us/library/ms228387(VS.80).aspx
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.