what are the disadvantages of C++?

Answer Posted / priya

It does not supprt ENCAPSULATION property of OOP's concept.
Because main method is present in outside of the class.

Is This Answer Correct ?    17 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of abstraction?

570


What are main features of oop?

649


What is variable example?

601


Write a c++ program to display pass and fail for three student using static member function

2826


Whats is abstraction in oops?

599






What causes polymorphism?

585


#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

2080


What is basic concept of oop?

714


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3863


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

1848


What is the importance of oop?

625


What are the 4 main oop principles?

695


program for insertion ,deletion,sorting in double link list

2291


What are two types of polymorphism?

624


What is a class in oop?

616