This question crosses the mind of every engineering student in their summer vacations. The whole decision can be based on a lot of important questions that you need to ask yourself for your future.
While learning a new language can certainly help you in your academic projects. Some of them prefer an internship to gain a wider idea of the industry.
The trick is to choose whats best for you.