Answer Posted / ullu ka patha
polymorphism is an OOP's concept by virtue of which
different classes are able to use same attributes,functions
and modules with same names.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is purpose of inheritance?
What is destructor in oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What do you mean by variable? What is property in oops? What do you mean by Encapsulation? What does I oop mean? write a code for this:trailer recordId contains a value
other than 99, then the file must error with the
reason ‘Invalid RECORD_ID’(User Defined Exception). what type of questions Can we create object of interface? Can you name some types of inheritance? What is the highest level of cohesion? What is the purpose of enum? When not to use object oriented programming?