Jump to content

Dhruv

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 182.78.161.2 (talk) at 11:39, 26 September 2024 (See also). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Dhruv is a Sanskrit word meaning firm or unshakeable. It is alternatively spelled as Dhruva and commonly refers to:

  • Dhruva, a devotee of Vishnu who later became the pole star in Hindu mythology

Dhruv may also refer to:

Military

  • HAL Dhruv, a multi-role helicopter developed and manufactured by India's Hindustan Aeronautics Limited
  • INS Dhruv, a missile range instrumentation ship of the Indian Navy

Entertainment

People

See also


  1. include <iostream>

class A { private:

   int b;

public:

   int a;
   protected:
   int c;
   A(int a, int b, int c) : a(a), b(b), c(c) {}
   void showA() {
       std::cout << "b :" << b << std::endl;
   }

};

class B : public A { public:

   B(int a, int b, int c) : A(a, b, c) {}
   void showB() {
       showA();
       std::cout << "a :" << a << std::endl << "c :" << c << std::endl;
   }

};

class C : public B { public:

   C(int a, int b, int c) : B(a, b, c) {}

};

int main() {

   C obj(10, 20, 30);
   obj.showB();
   return 0;

}