Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.

Answers were Sorted based on User's Feedback



WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / mahesh_b.tech@2008

ABSTRUCTION:

Process of providing the neccesary properties & operations
of an object is called as abstuction

Example take car the car user only know things reqired.
he don't no the internal functionality of the car b'coz it
is not required for the user .

properties like car:colour,number,model etc.
operations like car:move front,backetc.

ENCAPSULATION:

Process of providing all the properties&operayion of entity
in one place is called as encapsulation.

In java operations are called as methods,properties are
called as variables.

The place where you were write the variables &properties is
called as class.

Is This Answer Correct ?    31 Yes 8 No

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / narender_niit

abstraction:
abstraction means providing the relevant information only
and hiding other information..

encapsulation:

encapsulation means capsuling of data in the class..in
encapsulation the data members are declared in a class.and
we u want to use that variables only the copy of the
variables goes there which we use in other public
classes.this generates the concept of information hiding.
encapsulation also provide scurity to the data variables

Is This Answer Correct ?    8 Yes 1 No

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / ronny

Process of providing the neccesary properties & operations
of an object is called as abstuction

Is This Answer Correct ?    6 Yes 0 No

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / b.vara lakshmi

abstaction means hiding information details.it creates a
new data item with encapsulated objects.
encapusulation means it encapsulates both the code and data
and it manipulates the both and keeps safe from
interferences and misuse.

Is This Answer Correct ?    7 Yes 1 No

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / sdk

Encapsulation prevents the code and data of one class to be
accessed by code which is out side class

Abstraction refers to hiding of irrelevant data.

Is This Answer Correct ?    1 Yes 0 No

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / vikas

In C++ terms, abstraction is achieved by access modifiers:
private and protected. Encapsulation is achieved by classes

Vikas
http://www.cppquestions.com/

Is This Answer Correct ?    2 Yes 6 No

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ..

Answer / ganesh

ABSTRACTION
An abstract class is a parent class that allows inheritance
but can never be instantiated. Abstract classes contain one
or more abstract methods that do not have implementation.
Abstract classes allow specialization of inherited classes.
ENCAPSULATION:
Wrapping up of data into a single unit..

Is This Answer Correct ?    7 Yes 17 No

Post New Answer

More OOPS Interview Questions

function overridind means and simple program

2 Answers  


What is a superclass in oop?

0 Answers  


Why is oop useful?

0 Answers  


some one give d clear explanation for polymorphism

3 Answers  


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


write a program for function overloading?

14 Answers   HCL, InfoCity, TATA,


What is destructor give example?

0 Answers  


The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

6 Answers   TCS,


Where is pseudocode used?

0 Answers  


OOP'S advantages of inheritance include:

1 Answers   Infosys,


why the memory allocated with new cant be freed using free()

2 Answers  


What are the 3 principles of oop?

0 Answers  


Categories