My main site - http://www.mcprogramming.org
My CS site - http://www.essentialcscourses.com
My Twitter - / mcprogramming
My Facebook - / 220026358164435
Java - Benefits of Polymorphism - In this Java tutorial, I will talk about a couple of things that polymorphism makes easy for programmers to use. One thing is to be able to create a list or array that takes on polymorphic form because It can take in any type of object that extends the class that is used as the parameter. The other thing I show is how you can write a method takes in some object as its paremeter( or argument). This method can take in any object of the type specified in parameters plus any object type that extends that object type making it polymorphic. This is very beneficial because this makes it to where you only have to create one method as opposed to writing a method for each of the object types.
Смотрите видео Java - Benefits of Polymorphism онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь McProgramming 26 Май 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,737 раз и оно понравилось 76 людям.