difference between java built in classes and ADT

K

Kenneth

What is the difference between java built in classes such as java.util.*
and ADT implementations. Why would you ever need to implement
something that is already written for you?

k
 
H

Hal Rosser

Because we can.

Kenneth said:
What is the difference between java built in classes such as java.util.*
and ADT implementations. Why would you ever need to implement
something that is already written for you?

k
 
M

Michael Borgwardt

Kenneth said:
What is the difference between java built in classes such as java.util.*
and ADT implementations. Why would you ever need to implement
something that is already written for you?

Other implementations might be more efficient, have more features, or be superior
in some other way.
 
T

Tony Morris

Kenneth said:
What is the difference between java built in classes such as java.util.*
and ADT implementations. Why would you ever need to implement
something that is already written for you?

k

The core collections classes are implementations of ADTs.
Some argue that they are not as good as they should be - so they rewrite
them.
Others rewrite them as a learning exercise, such as a student at a tertiary
institution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top