6 ms·In contrast, Java would have a compile error so long as the variable was not declared final.by zeroimpl 3y agoIn contrast, Java would have a compile error so long as the variable was not declared final.