Was studying some basics of generic programming in Java. Here is a simple example of how generic method looks like. This method will print all elements of array of any type, except 8 core types - int, double, char, etc. But we can use Integer, Double classes instead (not good way, but will do in this little example).
=====================================
SUBSCRIBE FOR MORE: http://goo.gl/bMexAI
=====================================