why we are declare the function in the abstract class even
though we are declaring it in Derived class?
Answer / vishal
Abstract class is nothing but placeholder for other classes
ie subclass.It defines common shared behavior in abstract
classes and if we need to override we need to define in its
subclass else we can use shared behavior in base class.
| Is This Answer Correct ? | 1 Yes | 0 No |
create a c++ program that will accepts 9 inputs using 3 by 3 array.
Is enum a class?
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
What do you mean by Encapsulation?
what is multi level inheritance give n example ?
13 Answers HDFC, Hulas Steel, Ness Technologies,
what is the drawback of classical methods in oops?
What are the advantages of inheritance?
26 Answers IBS, TCS,
Can private class be inherited?
What is the difference between the C & C++?
When is a memory allocated to a class?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
define a string class. overload the operator == to compare two strings
2 Answers Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,