Questions tagged [base-class]

In Object Oriented Programming, a base class is one from which other classes inherit. For example, a child-class `Male` and another child-class `Female` may both inherit from the base-class `Human`.

In Object Oriented Programming, a base class is one from which other classes inherit. For example, a child-class Male and another child-class Female may both inherit from the base-class Human. As a result of such an inheritance, each of them will have at least all the attributes and methods of the class Human and perhaps a few others.

678 questions
-4
votes
2 answers

Performance using standard C# /.net classes and methods

i would like to understand if you please help with your opinion on this code below which is the simplest example to the performance issue using .net built-in methods.. and they're highly recommended by online tutorials ... public void…
LoneXcoder
  • 2,121
  • 6
  • 38
  • 76
-5
votes
2 answers

C++ using derived class variable in base class

The below is my code design class D; class A { D *d; class B:public C { somefunctions(); } } class C { //I need to use class D variables inside Class C } Whatever I do inside the Class C for bringing Class D variables, it is…
Paiya
  • 7
  • 3
-6
votes
2 answers

How does method redirection takes place in super class and base class?

class HouseHold extends Customer { public void requestCoupon() { Transaction(); CouponCount = 20; } public double Transaction () { Payment += CouponPayment; return Payment; } } class GCustomer…
RSkyler
  • 3
  • 2
1 2 3
45
46