The exchange came during a news conference at a public school in Red Hook , Brooklyn , where Mr. Bloomberg announced the expansion of a city-sponsored program of after-school and summer activities for children .