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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to get the oracle certification? send me the answer

2154


What are objects in oop?

1099


What is the full form of oops?

1182


What is coupling in oop?

1022


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!!!)

2102


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2066


What type of loop is a for loop?

1089


What is the problem with multiple inheritance?

1164


What are the 4 main oop principles?

1220


What is abstraction and encapsulation?

1014


i got a backdoor offer in process global,Bangalore..Can i work with it?

2841


What is polymorphism what are the different types of polymorphism?

1013


Which is not an object oriented programming language?

983


Why do we use class?

1085


Advantage and disadvantage of routing in telecom sector

1304