Top "Superclass" questions

A superclass is a parent or base class that is derived or inherited from by a child class (or subclass).

Better way to call superclass method in ExtJS

All the ExtJS documentation and examples I have read suggest calling superclass methods like this: MyApp.MyPanel = Ext.extend(Ext.…

javascript extjs extend extjs3 superclass
Calling superclass from a subclass constructor in Java

I am trying to create a constructor that takes a field as a parameter, then puts it in a field …

java subclass superclass accessor
C# Call base class' constructor after own constructor?

How can I call base class' constructor after I've called my own constructor? The problem is, base class' constructor calls …

c# class inheritance constructor superclass
Changing the value of superclass instance variables from a subclass

I've found that I can do it this way in the child class: ParentClass.variable = value; But I've been told …

java inheritance subclass superclass
Test whether a Ruby class is a subclass of another class

I would like to test whether a class inherits from another class, but there doesn't seem to exist a method …

ruby inheritance subclass superclass
C# : how do you obtain a class' base class?

In C#, how does one obtain a reference to the base class of a given class? For example, suppose you …

c# superclass
When to implement an interface and when to extend a superclass?

I've been reading a lot about interfaces and class inheritance in Java, and I know how to do both and …

oop inheritance interface superclass
Java -- Initializing superclass variables in subclasses?

Okay, so, for example, let's say I have an abstract class called "Vehicle". The Vehicle class, has, among other things, …

java variables subclass superclass
Private members in Java inheritance

I was told that for a Java subclass it can inherit all members of its superclass. So does this mean …

java inheritance subclass superclass private-members
Understanding upper and lower bounds on ? in Java Generics

I am really having a tough time understanding the wild card parameter. I have a few questions regarding that. ? as …

java generics subclass superclass