View RSS Feed

Java Object

Java - Abstraction

Rate this Entry
by , 04-26-2012 at 06:00 PM (708 Views)
Abstraction means an ability to create the class abstract, in OOP. Basically, an abstract class is not able to get instantiated. All remaining class functionalities are still present and its methods, fields & constructors are accessible in similar way. Just abstract classís instance canít be created.

If it is not possible to instantiate a class and it is abstract then such kind of class has no particular uses, until it gets subclasses. Typically, in this way abstract class will come, during design phase. Common functionality of child classesí collection is present in a parent class, however parent class is abstract to get used.

Submit "Java - Abstraction" to Facebook Submit "Java - Abstraction" to Digg Submit "Java - Abstraction" to del.icio.us Submit "Java - Abstraction" to StumbleUpon Submit "Java - Abstraction" to Google

Categories
Polymorphism

Comments