7 years ago in C++ Inheritance

The conversion from basic data to class type can be done by .......

[A] Writing constructor
[B] Is not possible
[C] overloaded casting operator
[D] object of a class
Loading...
Next Question

Overall Stats

Attempted 102
Correct 15
Incorrect 27
Viewed 60

Answers

Guest
Guest
madhura bhokare
madhura bhokare - 3 months ago

madhura bhokare is saying object of a class is correct answer

test
test - 3 months ago

test is saying Writing constructor is correct answer

Blank OP
Blank OP - 4 years ago

Blank OP from Bacolod City, Philippines is saying object of a class is correct answer

Ankita Jain
Ankita Jain - 4 years ago

Ankita Jain from Jaipur, India is saying overloaded casting operator is correct answer

Mursaleen khalid
Mursaleen khalid - 4 years ago

Mursaleen khalid from Islamabad, Pakistan is saying object of a class is correct answer

Related Questions

If a base class member access is public, and an inherited class accesses specifier is private, which of the following statement is true ?

  • [A] The base class member can be accessed by derived class objects
  • [B] The base class members cannot be accessed by the derived class members
  • [C] The derived class members can be accessed by the base class objects
  • [D] None of above

Which design patterns benefit from the multiple inheritance?

  • [A] Adapter and observer pattern
  • [B] Code pattern
  • [C] Glue pattern
  • [D] None of the mentioned

Which symbol is used to create multiple inheritance?

  • [A] Dot
  • [B] Comma
  • [C] Dollar
  • [D] None of the mentioned

Which of the following is false with respect to inheritance?

  • [A] When a base class is privately inherited,public members of the base class become private members of the derived class
  • [B] When a base class is publicly inherited,public members of the base class becomes public members of derived class
  • [C] When a base class is privately inherited,a private member of base class becomes private member of derived class
  • [D] When a base class is publicly inherited protected members of base class becomes protected members of derived class

When a base class pointer points to derived class object?

  • [A] It can access only base class members
  • [B] It can access only derived class members
  • [C] Both base class & derived class members
  • [D] None