What is data abstraction? How is it different from data encapsulation?
No Answer is Posted For this Question
Be the First to Post Answer
Does improper inheritance have a potential to wreck a project?
What is virtual destructor ans explain its use?
Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit
In how many ways we can initialize an int variable in C++?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is double in c++?
What is the difference between equal to (==) and assignment operator (=)?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
Why c++ is not a pure oop language?
Describe the setting up of my member functions to avoid overriding by the derived class?
What are member functions used in c++?
What is the function to call to turn an ascii string into a long?