ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
Categories >> Software >> Programming Languages >> C++ >> OOPS
 


   

 

Question WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
 Question Asked In Companies :: ETH,     < I also faced this Question! >
 Question Submitted By :: deepak pareek
  Answer Posted By  
 
Answer
Process of providing the neccesary properties & operations
of an object is called as abstuction

Is This Answer Correct ?    4 Yes 0 No


 
  ronny
 
View All Answers
 
 
Please Help Members By Posting Answers For Below Questions
 
 Question Views   Select
 
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required. 4293
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!) 626
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element). 619
i got a backdoor offer in process global,Bangalore..Can i work with it? 1211
explain sub-type and sub class? atleast u have differ it into 4 points? 789
Templates mean 474
any one please tell me the purpose of operator overloading 888
How to call a non virtual function in the derived class by using base class pointer 2604
officer say me - i am offered to a smoking , then what can you say 539
What is the renewal class? 1038
How to use CMutex, CSemaphore in VC++ MFC 2311
write a program to find 2^n+1 ? 451
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works? 345
#include <string.h> #include <stdio.h> #include <stdlib.h> #include<conio.h> 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 748
what type of questions 637
E-Mail New Answers        Answer Selected Questions