Describe what an Interface is and how it?s different from a
Class.

Answer Posted / priaynk

Interface is an idea about the functionalities provided.
class will define the rules for that idea
object is the real entity which takes it into reality.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between pop and oop?

816


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2377


What is abstraction encapsulation?

865


What does and I oop mean?

838


How does polymorphism work?

869


What is interface? When and where is it used?

1879


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6371


Whats oop mean?

793


explain sub-type and sub class? atleast u have differ it into 4 points?

2043


What is destructor example?

773


State what is encapsulation and friend function?

943


What is the full form of oops?

913


What does it mean when someone says I oop?

810


What is polymorphism give a real life example?

765


What is the main feature of oop?

901