What is a class?

Answer Posted / k.premalatha

class is a generalisation or mould or template of an object.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction and encapsulation?

563


What is interface in oop?

650


what's the basic's in dot net

1732


Can you explain polymorphism?

571


#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

2155






Templates mean

1579


What is persistence in oop?

654


What are the features of oop?

624


What exactly is polymorphism?

592


Why oops is important?

597


What is object in oops?

604


Can we create object of abstract class?

567


How to hide the base class functionality in Inheritance?

628


How do you achieve runtime polymorphism?

560


is there any choice in opting subjects like 4 out of 7

1722