# Lesson 8 - Activity 3 - How does the final keyword work in Java?

**URL:** <https://club.ministryoftesting.com/t/lesson-8-activity-3-how-does-the-final-keyword-work-in-java/31711>\
**Category:** Discussions\
**Tags:** java, java-intro\
**Created:** [28 November 2019 15:57 UTC](https://club.ministryoftesting.com/t/lesson-8-activity-3-how-does-the-final-keyword-work-in-java/31711 "2019-11-28T15:57:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike\_talks](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/mike_talks/32/11115_2.png) [@mike\_talks](https://club.ministryoftesting.com/u/mike_talks)\
**Post date:** [28 November 2019 15:57 UTC](https://club.ministryoftesting.com/t/lesson-8-activity-3-how-does-the-final-keyword-work-in-java/31711/1 "2019-11-28T15:57:49Z")

</div>

**Time:** 10 minutes

**Purpose:** Explore the **final** keyword on your own

**Introduction:** You’re used the **final** keyword in your code to date, but why do we need it?

**Task:** Investigate how the final word works with variable declaration.

This is used when you have a declaration which will never change – there will always be 360 degrees in a circle, PI will always be 3.14

More than just looking up the answer, have a go at playing with using it and seeing how it changes behaviour.
