Top "Derived-class" questions

In Object Oriented languages, derived class can inherit properties and/or member functions from a base class, also called super class.

C# "Rename" Property in Derived Class

When you read this you'll be awfully tempted to give advice like "this is a bad idea for the following …

c# properties alias derived-class base-class
Deriving Class from Generic T

I have a parameterized hibernate dao that performs basic crud operations, and when parameterized is used as a delegate to …

java generics reflection derived-class
How to force a derived class to include certain properties with default value

I have a class structure for a role playing game which looks like this... public abstract class Item { public abstract …

c# abstract-class derived-class
C# accessing protected member in derived class

I wrote the following code: public class A { protected string Howdy = "Howdy!"; } public class B : A { public void CallHowdy() { A …

c# visual-studio-2010 encapsulation protected derived-class
C++ calling template functions of Base class

Below are two cases. Case 1) Base->BaseIndirect->DerivedIndirect Case 2) Base->Derived In Case 2), I am able to …

c++ templates derived-class
C++ Call derived function from base class instance

I am fairly new to C++, but i have ran into an issue which i cannot seem to resolve. I …

c++ function vector derived-class
Can a base-class method return this, even in a derived class?

I'd like to be able to have a method in a C# base class, callable on objects of several derived …

c# derived-class
C++ template with 'const'

Consider the following template class: template <typename T> class Function { public: virtual float eval( const T &x, …

c++ templates constants derived-class