class constants java practices java constants class best practices This practice is recommended to maintain the encapsulation one of the fundamental concepts of OOP. Using Naming Conventions 2. … Sunday, May 29, 2022 Edit