When we use Abstract Class and when we use Interface?where we
will implement in real time?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

write a C++ programming using for loop: * * * * * * * * * *

4 Answers   TCS,


What is capacity in vector in c++?

0 Answers  


Differentiate between a template class and class template?

1 Answers  


What is a .lib file in c++?

0 Answers  


How do you add an element to a set in c++?

0 Answers  


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


Which bit wise operator is suitable for turning off a particular bit in a number?

0 Answers  


In c++, what is the difference between method overloading and method overriding?

0 Answers  


Difference between Operator overloading and Functional overloading?

10 Answers   HP,


Define a nested class.

0 Answers  


What is difference between malloc()/free() and new/delete?

0 Answers  


class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.

5 Answers   Quark,


Categories