How would you stop a class from class from being derived or
inherited.

Answer Posted / dom wadegu

by declearing a sub-class protected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop?

640


What is difference between oop and pop?

620


What is class and example?

570


What is the use of oops?

625


#include #include #include #include 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

2070






What is encapsulation in simple terms?

542


What does enum stand for?

617


Can we create object of abstract class?

581


What is polymorphism programming?

607


What is solid in oops?

617


what's the basic's in dot net

1742


What is object-oriented programming? Webopedia definition

728


What is overloading and its types?

619


Why do we use inheritance?

630


What is constructor overloading in oop?

607