Learn Java Programming - Final Methods Tutorial

Published: 06 August 2015
on channel: Daniel Ross
830
13

The keyword final can be applied to many things, in the next few tutorials I will explore how it effects the behavior of methods, classes, or variables. There are some slight key differences in the functionality of the final keyword with respect to what you are applying it to. When the keyword final is applied to methods, it will prevent a method from being overridden in a subclass. The method will still be inherited; it just simply cannot be overridden. Applying final to a method is common when a method is called from a constructor and you want to ensure that its functionality cannot be changed when used in future subclasses.


On this page of the site you can watch the video online Learn Java Programming - Final Methods Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 06 August 2015, share the link with friends and acquaintances, this video has already been watched 830 times on youtube and it was liked by 13 viewers. Enjoy your viewing!