What is oop in simple words?
Answer / pranay
Constructing a program with class object concept is known as oops.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is multidimensional array?
Why is abstraction needed?
What are the advantages of inheritance?
26 Answers IBS, TCS,
what is the need of abstraction? what is abstraction?what is the abstraction for stack?
What is the difference between a mixin and inheritance?
i have to create a view in SQL as like in ORACLE DATA EXPRESS EDITION
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
Are polymorphisms mutations?
What is class in oop with example?
What is difference between new and malloc?
What causes polymorphism?