Describe what an Interface is and how it?s different from a
Class.
Answer Posted / mouli
In Interface,we cannot specify any definition inside but
where as class we can.
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
What is stream in oop?
What are different oops concepts?
What do you mean by variable?
How to improve object oriented design skills?
What is protected in oop?
What is variable example?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Which method cannot be overridden?
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
what is the 3 types of system development life cycle
How is class defined?
Templates mean
What does I oop mean?
what is the drawback of classical methods in oops?
What is difference between inheritance and polymorphism?