Out of 4 concepts, which 3 C++ Follow?
Answer / gopesh
c++ do not follow persistence from 4 oops concept that is encapsulation,polymorphism,data abstraction,persistence
| Is This Answer Correct ? | 17 Yes | 7 No |
which is platform independent device used in computers
to find out the minimum of two integer number of two different classes using friend function
What do you mean by inline function?
What is encapsulation with example?
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
How is class defined?
What is Iteration Hierarchy? What is what is Object behavioral concept?
1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
Do you know about multiple inheritance?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
explain defference between structure and class with example