Write an Apex code that calculates the sum of squares of the numbers from 1 to 10:
385
Integer sum = 0; for (Integer i = 1; i <= 10; i++) { sum += i*i; } System.debug(sum);