Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Java : An introduction to Generics, static and dynamic types, polymorphis

Share this post!
 Vote this!

This is not going to be covering the more advanced stuff, like creating your own generic classes etc, it will just focus on problems encountered by people beginning with programming. The language used here is Java, however the subject is common to most modern languages. Also this tutorial covers some aspects of static and dynamic typing, and one of the OOP(object oriented programming) pillars: polymorphism.


A little history

Everybody who programs in any way knows we need to store data. To store it in memory you use variables, or when you need a lot, you use an array. However, as you probably know, arrays are the old school way of doing things, in the object oriented world we use classes like ArrayList, Stack, HashMap etc etc. Those provide a lot more functionality, at the cost of a bit more overhead.  more...

0 comments:

Post a Comment