Heat the oil in a
medium ovenproof skillet (preferably cast iron) over medium heat. Add the zucchini and cook, stirring occasionally, until it starts to soften, 5-6 minutes. Add the garlic and corn and cook another 3-4 minutes until tender. Season the vegetables with ¼ teaspoon salt and ¼ teaspoon pepper.