You should be asked this question if your resume doesn't have any internship experience, or if they didn't look at your resume. If you do have internship experience, then you can answer, that you do and say the same answer as the one provided with the question, what did you learn from your internship. But if you don't, you can simply answer that you didn't do any internship but give a good excuse.
Traveling is not a bad answer. It is not as good as doing an internship, but definitely better than nothing. It is definitely not a wasted summer. Also, if the internship was useless and generic, then the interviewer will not remember this answer as a good answer. So it didn't do any good. In this case, traveling could be better because the example I gave is significant and interesting. Something different always stands out more.
Learn English speaking much FASTER by downloading the TalkEnglish Offline Package and submerge yourself with over 8,000 audio files and over 800 pages of lessons! Then you can study without Internet connection and also listen to audio files using your MP3 player at any time. Go to the English Download page and download today!