It depends on how you plan to learn. If it's real course, they'll tell you what they're teaching you. For self-study, what I think is most important is to pick a tutorial that will inspire you to write code on your own as soon as possible. That's where you really learn to program.
The actual language doesn't matter much, in principle. What matters is the "quality time" you spend practicing. The language I started with, APL, is nearly extinct now; but I was excited enough by the range of things you could do with it that I kept at it. The time spent was more like "fun" than "practice". Later I learned other languages--also on my own.
So, if you're going to use the free e-books at Invent With Python, you'll learn Python first.
Pick a book like "Head First Java", and you'll learn Java first.
The "tutorial" and websites like Codecademy and TutorialsPoint are decent ways to learn a second or third language, but I don't think they're very good at explaining concepts to a beginner. Still, anything can work for someone--but I'd suggest trying something else first.
Keeping in mind that "anything can work for someone" idea, you'll see suggestions for C or C++. That's not exactly wrong, but I don't recommend either of them. The number of lines of code you need to write to get anything done can be daunting in C or in "beginners C++", and the comparative lack of validity checking can make simple coding errors hard to find.
There are also languages like Scratch and Alice that are designed specifically for teaching new programmers. I think these work better in a classroom than for self-study, since setting up a learning environment and finding good tutorials can be challenging.