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 abstraction with strong example program?
(not a general program)

Answer Posted / gaurav (accenture)

Just to tell you guys that abstraction and encapsulation are two different concepts of oops. thats why they've use two terminologies. Common Sense. Right.!

The meaning of abstraction is just the same as it is in English but applying it in coding world. Simply we can say as “what” the method or a module does not “how” it does it. The word abstraction is to distill a complicated system down to its most fundamental parts and describe these parts in a simple, precise language.

Let’s compare Java and C++. We have a good example of abstraction. In C++, you have to deal with pointers and references a lot. You have to deal a lot of garbage collection. In essence, you have to work on a low level. (C and C++ in turn abstracted a lot of even lower level machine code.) In Java, those things are abstracted away. You just assume they exist. In essence, abstraction means that you are working on a higher level. You don’t care how pointers work in Java, you just assume that they work. You don’t have to concentrate on the lower level stuff, you work on higher level.

I hope it covers everything.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are streams in java 8?

945


Explain public static void main(string args[]) in java.

931


How to remove the trailing spaces from a string?

1172


Which is bigger float or double java?

925


What do you mean by constant time complexity?

1136


Does java have a compiler?

977


What is hash table in java?

940


What is multiple inheritance? Is it supported by java?

915


What is hashset in java?

1059


What is codebase?

943


What is integers and example?

921


What is data structure in java?

936


What is Major and importance difference between for and foreach loop ?

1074


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

971


What is the use of keywords in java?

935