Sumner Evans
0
Q:

java final meaning

private final String hello = "Hello World!";
/*
The keyword final states that the variable, method or class
associated will not have it's value changed.
*/
5
Final is used to apply restrictions on class, method, and variable.
The final class can't be inherited, final method can't be overridden,
and final variable value can't be changed. Final is a keyword
0
public static final String Name = "Jeff";
0

New to Communities?

Join the community