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


Please Help Members By Posting Answers For Below Questions

What is stream in oop?

829


What are different oops concepts?

564


What do you mean by variable?

565


How to improve object oriented design skills?

558


What is protected in oop?

596






What is variable example?

588


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1826


Which method cannot be overridden?

568


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

1685


what is the 3 types of system development life cycle

2424


How is class defined?

571


Templates mean

1579


What does I oop mean?

607


what is the drawback of classical methods in oops?

2907


What is difference between inheritance and polymorphism?

557