Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualGlass_Knife

Posted 12 September 2012 - 07:59 PM

Do you mean, talking a List interface, and all the operations that can be perfomed on a list, make a List an abstract data type.
You can add things, remove things, count things, iterate, sort, print, ect.

At what point does an abstract data type become concrete?  All the data is hidden, and there can be concrete classes without any data held inside them.  From a theoretical point of view, is any class that can be instantiated a concrete type, or is there more to it?

Just asking for my own knowledge.  I never really thought about defining an abstract class, and I can see from my first post that I don't
really understand.

I am always amazed at how much I still don't know about computer science.

#2Glass_Knife

Posted 12 September 2012 - 07:59 PM

Do you mean, talking a List interface, and all the operations that can be perfomed on a list, make a List an abstract data type.
You can add things, remove things, count things, iterate, sort, print, ect.

At what point do an abstract data type become concrete?  All the data is hidden, and there can be concrete classes without any data held inside them.  From a theoretical point of view, is any class that can be instantiated a concrete type, or is there more to it?

Just asking for my own knowledge.  I never really thought about defining an abstract class, and I can see from my first post that I don't
really understand.

I am always amazed at how much I still don't know about computer science.

#1Glass_Knife

Posted 12 September 2012 - 07:59 PM

Do you mean, talking a List interface, and all the operations that can be perfomed on a list, make a List an abstract data type.
You can add things, remove things, count things, iterate, sort, print, ect.

At what point do an abstract data type become concrete?  All the data is hidden, and there can be concrete classes without any data held inside them.  From a theoretical point of view, is any class that can be instanciated a concrete type, or is there more to it?

Just asking for my own knowledge.  I never really thought about defining an abstract class, and I can see from my first post that I don't
really understand.

I am always amazed at how much I still don't know about computer science.

PARTNERS