Set oven to 350 degrees F. Set oven rack to second-lowest position.
Butter an 8 x 8-inch square baking dish.
In a large bowl, mix together flour with sugar, cornmeal, baking powder and salt.
In another bowl whisk together half and half cream or milk, eggs, oil and melted butter; add to the flour mixture and stir with a wooden spoon until just combined.
Mix in canned corn niblets.
Transfer to baking dish.
Bake for 35-40 minutes