recategorized by
6,699 views

3 Answers

0 votes
0 votes
  • Data members in C++ is inherited in a derived class from base class
  • Constructor is a member function of a class which initializes objects of a class. In C++,Constructor is automatically called when object(instance of class) create.It is special member function of the class.
  • Destructor is a member function which destructs or deletes an object.
  • Virtual methods is a method which is redefined(Over-riden) in derived class

So, option (C) is correct.

Answer:

Related questions

2 votes
2 votes
1 answer
1
go_editor asked Jul 30, 2016
7,395 views
When the inheritance is private, the private methods in base class are _____ in the derived class (in C++)inaccessible accessibleprotectedpublic
1 votes
1 votes
2 answers
2
1 votes
1 votes
1 answer
3
go_editor asked Jul 25, 2016
723 views
_____ allows to create classes which are derived from other classes, so that they automatically include some of its "parent's" members, plus its own members.OverloadingIn...