flâneur — a map of the web's best reading

Scala | Final - GeeksforGeeks

geeksforgeeks.org · 985 words · saved by 1 readers

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Scala | Final - GeeksforGeeks Courses Tutorials Interview Prep DSA Practice Problems C C++ Java Python JavaScript Data Science Machine Learning Courses Linux DevOps Scala | Final Last Updated : 2 Sep, 2021 In Scala, Final is a keyword and used to impose restriction on super class or parent class through various ways. We can use final keyword along with variables, methods and classes. Following are the ways of using final keyword in Scala Scala Final Variable: Scale final variable initialized only once while declared and used as constant throughout the program. In below example, variable area i

Explore this link on the map →

related reading