Florentin Dumitrache3,757 Points
private vs public final
What is the difference between these two? From what i've seen both protect the value and give an error when the program is compilated.
Frank TorchiaPro Student 16,903 Points
public variable is accessible everywhere in the code while a
private variable is only available in the class where it is declared.