Results 1 to 4 of 4

Thread: Concept of abstraction

  1. #1
    Join Date
    Nov 2009
    Posts
    70

    Concept of abstraction

    Hi,

    I am IT student, I have lots of confusion regarding "Abstraction".As Inheritance is useful for the re-usability of the the program code, What is the use of "Abstraction"?.
    I don't have idea regarding "Abstraction". What is "Abstraction" and it's use?. If you aware about the "Abstraction" concept the please explain it with example , so that it will be more useful for me.
    Last edited by bharti_rajpal; 25-11-2009 at 08:35 AM.

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: Concept of abstraction

    The method of showing only required data as well as hide data which is unnecessary is called as "Abstraction".

    e.g: The java methods are the best example of the abstraction. The users of the program are unaware about where these methods are stored in the memory, But they can see the declaration of the methods and their use in the class

    In short Abstraction is used to display only data which is necessary for users.
    Last edited by Katty; 25-11-2009 at 11:42 AM.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Concept of abstraction

    Using abstraction we can inherit the multiple inheritance in JAVA. By using this we can include only prototypes of method. Refer the below example of the abstraction:
    Abstract class demo
    {
    Abstract function([set of arguments]);
    ..................
    .....................
    }

    Here we are able to define another one class to implement abstract methods. as below:

    public class A1 implements demo
    {
    //Method definition
    }
    Last edited by kelfro; 25-11-2009 at 12:07 PM.

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: Concept of abstraction

    Hi friend,

    The task of removing and granting features from something for limiting it to only required features is referred as "Abstraction" . The main purpose of the abstraction is to hide very important data or data details. You can use abstract method to implement the abstraction. When you run the program you are not able to see what happening in the memory while runnimg program. Other that this I don't know more about the abstraction.
    Last edited by Zecho; 25-11-2009 at 12:06 PM.

Similar Threads

  1. What is Database Abstraction Layer in PHP?
    By Author in forum Software Development
    Replies: 5
    Last Post: 07-03-2010, 04:34 AM
  2. Don't know what is data abstraction
    By Sarfaraj Khan in forum Software Development
    Replies: 5
    Last Post: 23-01-2010, 12:32 PM
  3. Confused in between abstraction and encapsulation
    By reetus in forum Software Development
    Replies: 3
    Last Post: 08-12-2009, 08:59 AM
  4. Concept of UML
    By Jagadamba in forum Software Development
    Replies: 3
    Last Post: 20-11-2009, 09:53 AM
  5. Concept of OLAP ?
    By Antrix in forum Software Development
    Replies: 4
    Last Post: 06-10-2009, 04:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,700,275.50059 seconds with 16 queries