diff between Abstract class Interfaces?

Answer Posted / latha

abstract class contains the abstract methods. these methods
contain the only declaration but no definition.

interface is the class which extends the many interfaces.
and the class implements the many interfaces

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multilevel inheritance in oop?

792


Are polymorphisms mutations?

925


What is an example of genetic polymorphism?

902


#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

2396


Why oops is important?

813


Can enum be null?

786


What is methods in oop?

763


What is an advantage of polymorphism?

844


How Do you Code Composition and Aggregation in C++ ?

24780


What is the point of oop?

889


Can we override main method?

869


What are constructors in oop?

818


What are oops methods?

786


What are the 4 main oop principles?

958


Why do we use polymorphism?

790