English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Question related to JAVA.

2006-10-02 19:45:36 · 5 answers · asked by ankit sharma 1 in Computers & Internet Programming & Design

5 answers

abstraction in java means a general type signature, which own its on having no meaning but on overriding gets useful implementations.
an example is
Figure or shape has dimentions, area, volume etc.But these class
just provide a type signature which means how the data should
behave,ie., the return type, the access specifier(public,private..)

The concrete class(ie. the non abstract class) which inherits the above class must override the methods accordingly.

good luck

2006-10-06 18:29:18 · answer #1 · answered by Anand 3 · 2 0

In computer science, abstraction is a mechanism and practice to reduce and factor out details so that one can focus on few concepts at a time. It is by analogy with abstraction in mathematics. The mathematical technique of abstraction begins with mathematical definitions; this has the fortunate effect of finessing some of the vexing philosophical issues of abstraction.

2006-10-02 19:49:15 · answer #2 · answered by Anonymous · 0 0

Abstract applies to that which is intangible (cannot be touched). Emotions, concepts, and ideas are abstract. They are difficult to comprehend as they cannot be seen, touched, tasted, heard, or smelled.
Examples of abstract language: love, rage, wisdom, ignorance, envy, sloth.-- What are these thing but intangible ideas and emotions?
The opposite of abstract is concrete. Ex: Table, desk, hair, house etc.
These two elements are a HUGE part of language and literary expression. Hope this helps!

2006-10-02 19:53:57 · answer #3 · answered by Anonymous · 0 1

Abstract classes cannot be instantiated, they are there only to build subclasses from.

For example the class "Image" is abstract, which means that it is there to collect all the methods common for all images, but you cannot create just "Image". You must create from a subclass to Image: BufferedImage or VolatileImage (or your own class that is derived from Image).

2006-10-02 19:48:49 · answer #4 · answered by Anonymous · 0 0

wikipedia.com

2006-10-02 19:47:31 · answer #5 · answered by lobo 4 · 0 0

fedest.com, questions and answers