Stir together the corn kernels, flour, sugar, baking powder, 1/2 teaspoon salt and 1/4 teaspoon pepper in a large bowl. Stir in the eggs and heavy cream until the batter is well combined.
Line a plate with paper towels. Coat the bottom of a large saute pan with oil and place it over medium-high heat. Once the oil is hot, scoop 2- to 3-tablespoon mounds of the corn batter into the pan, spreading it lightly into a flat, circular shape. Cook the fritters until golden brown, 2 to 3 minutes, then flip and cook until golden brown and cooked through, about 3 minutes. Transfer the fritters to the paper towel-lined plate, season them immediately with salt and repeat the cooking process with the remaining batter, adding more oil to the pan as needed.
Garnish the corn fritters with the scallions and serve them with sour cream or aioli for dipping.
Fresh or thawed frozen corn kernels will work in this recipe. If you use frozen corn, drain off any excess liquid after it thaws.