K, now you can do this in one of a multitude of ways, depending on your design intent. Here's two ways.
1) Set all your fields to static(put the static keyword before each int keyword in your class).
or
2) Instantiate a Math object and reference the fields to compute the values(Math m = new Math(); System.out.println(m.a)

.
See how you do with that.