Evaluate the following Java code snippet:
final int NUM1 = 10, NUM2 = 20; int total = NUM1 + NUM2;
A compilation error occurs
total equals 10
total equals 30
A runtime error occurs