Answer Posted / pramod kumar sharma
abstract class contains the at list one abstract methods and abstract methods contain the only declaration but no definition.
interface contain all methods abstract methods only.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Which method cannot be overridden?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
How to use CMutex, CSemaphore in VC++ MFC
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
to find out the minimum of two integer number of two different classes using friend function
What is the use of oops?
What is abstraction in oops with example?
Why it is called runtime polymorphism?
Can main method override?
• What are the desirable attributes for memory managment?
Why multiple inheritance is not possible?
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
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Can a varargs method be overloaded?