Java Live Code : Create a generics function to calculate sum of two numbers (wrapper classes)

preview_player
Показать описание
In this video, I am demonstrating creation of generics functions.
This function will take any Wrapper classes, subclass of Number, and return a sum from it.

00:50 coding starts
05:54 Converting a non-generic function to a generic function
Рекомендации по теме
Комментарии
Автор

good video!
2 questions:
why do you call the objects Final?
why do you not use Eclipse, you have to always compile it manually in your IDE?

nikitaedell
join shbcf.ru