Skip to main content
6 events
when toggle format what by license comment
Jan 25, 2015 at 5:24 comment added 200_success @overexchange Abstraction is hiding the details of how something is done. For example, when you write a+b, you usually don't care what bytecode gets generated, what the machine-language opcode is, which transistors get activated, etc. All of those details are abstracted away so that you can focus on your programming task. Abstraction is, therefore, what allows us to accomplish wonderfully complex tasks without being overwhelmed by details. Your discussion of abstract classes is an unrelated usage of the word "abstract".
Jan 24, 2015 at 1:14 history edited TheCoffeeCup CC BY-SA 3.0
added 92 characters in body
Jan 24, 2015 at 0:17 comment added Jeor Mattan @overexchange in your code there is a single place to start with. Abstraction is depending on a contract instead of the implementation; you can't achieve it with a single-class design.
Jan 23, 2015 at 23:59 comment added overexchange my definition of abstraction is, Abstraction is more about taking common functionality out of multiple places and putting it into a single common place instead and using inheritance (or something similar) to have that common functionality refer to the single abstract class(in java) so what would you check in my program, when i ask you, Does this single class program follow abstraction? Because am still not clear with word abstraction, when such single class programs are written, based on my definition of abstraction given above
Jan 23, 2015 at 23:38 review First posts
Jan 24, 2015 at 1:14
Jan 23, 2015 at 23:37 history answered Jeor Mattan CC BY-SA 3.0