General Question

nayak072091's avatar

Why abstraction in java is called as a mathematical entity?

Asked by nayak072091 (1points) October 30th, 2010

ADT in java is called as a mathematucal entity

Observing members: 0 Composing members: 0

2 Answers

LostInParadise's avatar

Abstract data classes are analogous to mathematical constructions. In Euclidean geometry, for example, the axioms would be like the methods in an abstract Java class. Since the terms in the axioms, like point and line, are undefined, they are in need of “instantiation.” The use of Cartesian geometry to define points and lines could be considered an instantiation. Of course, this breaks down a bit, since everything in mathematics is ultimately based on undefined terms.

I don’t know if Java has anything like the generic classes in .Net programming. These would be even closer to mathematical theories, since the generic classes allow you to work with types that really are undefined and that have to be instantiated.

camertron's avatar

^ what he said

Answer this question




to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
Knowledge Networking @ Fluther