What is encapsulation?

Answer Posted / anjana

ENCAPSULATION:
*ENCAPAULATION IS A WRAPPING UP OF DATA INTO A SINGLE UNIT.
*IT IS LIKE A CAPSULE.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can abstract class have normal methods?

610


What is overriding vs overloading?

580


What is the purpose of polymorphism?

675


What are the benefits of oop?

604


What is an advantage of polymorphism?

589






What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1650


What is encapsulation and abstraction? How are they implemented in C++?

635


How do you achieve polymorphism?

613


Why is abstraction needed?

565


What are constructors in oop?

587


what is the 3 types of system development life cycle

2431


What is object and example?

602


What is encapsulation in ict?

606


#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

2066


Please send ford technologies placement paper 2 my mail id

1652