I'm a beginner in programming, my question is:
- I created a public static final double Preco_Gasolina = 3.85
attribute in a class A.
- I want to return the value of Preco_Gasolina = 3.85
in a JLabel
in class B.
This is possible, how do I?