I would take a project you've implemented in Python and try converting it to Java. Since you already know basic programming fundamentals, it'll probably be easier if you take things you know how to do and figure out how you'd do the same sort of operations in Java (or whatever new language you want to learn).

In the end, the only way to learn to write code, is to write more code.

Answer from Erich Douglass on Stack Overflow
🌐
Reddit
reddit.com › r/learnpython › is it bullshit: know java, easy to learn python. but not the other way around.
r/learnpython on Reddit: Is it bullshit: Know Java, easy to learn Python. But not the other way around.
August 11, 2019 -

Hello people, I am looking to learn a programming language during the summer before college. The classes I'll be taking at univerisity uses Java. However, I've been trying to learn Python on my own for around two weeks using Automate the Boring stuff and Code academy. So I am still a noob. However, I've read some posts where people say learning Java as a first language will be much better than learning Python as a first language because it is easier to transfer from Java to Python but not the other way around. Now I am conflicted in which language I should devote myself to for the rest of the summer. Please give some advice. Thanks!

Edit: Thanks to everyone who replied and who tried to help. So some said that Python allows you to skip the useless code which therefore allows you to focus more on the concepts. While some said that Java forces you to explicitly write out all the steps which teaches you more on the fundamentals. Although I will eventually be learning Python as I am interested in Machine Learning/AI I think I will be learning Java for the rest of summer until university starts simply because of the fact my classes uses Java so I was think about getting a slight head start. Once again, thank you to everyone who helped.

🌐
Quora
quora.com › I-already-know-Java-Can-I-learn-Python
I already know Java. Can I learn Python? - Quora
Answer (1 of 9): If you know Java then definitely you can learn Python. Python is easier than Java; it would take approx 1–2 weeks to learn Python.
🌐
Reddit
reddit.com › r/learnpython › java after python.. possible??
r/learnpython on Reddit: Java after python.. possible??
August 8, 2022 -

I have been learning python for a year and I think I can code in python! I just need to work on projects to advance my skills. Lately I have been thinking to learn Java...so I took advice from my friends. They said I will have tough time learning Java because I have learned python before. They said I should have learned Java first and python later... maybe I messed up 😅😅

Is it true? Will it really be that difficult?😩

Python is my first language and I am thinking of learning Java now. Can I?! Please share your opinions

Thanks in advance 🤗🤗

🌐
Sololearn
sololearn.com › en › Discuss › 1849742 › is-it-really-necessasry-to-have-knowledge-of-java-before-learning-python-
is it really necessasry to have knowledge of java before learning python ??? | Sololearn: Learn to code for FREE!
On the whole, learning Java can give you a lot of discipline when you design your data types and code structures - same is not enforced by python so if you don't care much and dont follow PEP guidelines, you can easily develop very bad coding practices. ... No need of it , thought it will be a plus point though if you know java already.
🌐
freeCodeCamp
forum.freecodecamp.org › t › i-am-learning-java-in-college-but-i-like-python › 252991
I am learning java in college but I like python - The freeCodeCamp Forum
January 21, 2019 - Right now I am learning Java in college but I love working with Python/Django because of its simplicity I found that I do a lot of coding in java to get very small results especially for web development. Can I study python by myself, get a degree in Java and get a job in python 😕 is there ...
🌐
Quora
quora.com › How-hard-is-it-to-learn-Java-if-I-already-know-how-to-program-in-Python
How hard is it to learn Java if I already know how to program in Python? - Quora
Answer (1 of 55): This is how you declare a list of strings in Java (before 9): [code]List mylist = new ArrayList (); [/code]This is how how you declare a list of an undefined type in since Java 9 (thanks Bernard Louw for the comment) [code]List anytypeList = Collections.emptyList...
🌐
Sololearn
sololearn.com › en › Discuss › 1634607 › is-it-difficult-to-learn-java-and-python-at-the-same-time
Is it difficult to learn java and python at the same time? | Sololearn: Learn to code for FREE!
December 26, 2018 - The reason behind it you need to start with python because java has many complex concepts and very complex oop.if you learn python first then you can easily learn java.because first learn simple then hard.
Find elsewhere
🌐
Quora
quora.com › Can-I-learn-Python-in-a-month-if-I-know-Java
Can I learn Python in a month if I know Java? - Quora
Answer (1 of 6): Absolutely. Your background in Java will be a huge asset as you ramp up to it. The biggest difference you’ll find is that python is weakly typed so you can do things like [code]x = 1 print(x) x = “hi” print(x) [/code]Console output: > 1 hi This may take a little getting used...
🌐
Blogger
javarevisited.blogspot.com › 2018 › 06 › java-vs-python-which-programming-language-to-learn-first.html
Java vs Python - Which Programming Language beginners should learn in 2025?
If you have any questions or feedback, then please drop a note. P. S. - If you already know Java Programming then you can also learn Python as your second programming language to expand your skill.
🌐
Medium
medium.com › @d3xvn › the-beginners-dilemma-should-i-learn-java-or-python-7efed89dc5b1
The beginner’s dilemma: Should I learn Java or Python? | by Deven Joshi | Medium
November 20, 2018 - If you’re just interested in programming and want to dip your feet in without going all the way, learn Python for its easier to learn syntax. If you plan to pursue computer science/engineering, I would recommend Java first because it helps ...
🌐
Team Treehouse
teamtreehouse.com › community › is-it-easy-to-learn-java-after-your-learned-python
Is it easy to learn java after your learned python? (Example) | Treehouse Community
February 2, 2018 - It will most likely take you a lot longer to learn than Python did. ... I think once you know the basics of programming (conditionals, loops, etc) it's easy to pick up another language.
🌐
DEV Community
dev.to › alli › what-happened-when-i-learned-java-and-python-at-the-same-time-1haa
What Happened When I Learned Java and Python at the Same Time - DEV Community
August 13, 2019 - I'll see if I can write it in Python. One language at a time is probably the better way to go. I wouldn't recommend it. It did provide the surprise benefit of being able to compare the languages as I learned. I want to give the Java book some credit--it did a better job of explaining some concepts such as Object Oriented design and programming.
🌐
YouTube
youtube.com › watch
Learning Java after Python - "Hello, World!" - Comparing a Simple Program Structure - YouTube
The first tutorial in a series that helps you translate your knowledge of the Python programming language to basic familiarity with the Java programming lang...
Published   December 30, 2020
🌐
Reddit
reddit.com › r/feedthebeast › how easy is it to learn java after you learn python?
r/feedthebeast on Reddit: How easy is it to learn Java after you learn Python?
November 15, 2017 -

I just started a class today and found out i will be learning Python, how easy is it to transfer my skills into modding minecraft, Assuming I do well and actually learn to code in Python?

Note: I have never coded before, sorry if this is a noob question.

🌐
Coursera
coursera.org › coursera articles › computer science and engineering › web and app development › python vs. java: which should i learn?
Python vs. Java: Which Should I Learn? | Coursera
September 12, 2025 - Of the two, Java is the faster language, but Python is simpler and easier to learn. You can learn both Python and Java through self-study, online courses, or in a computer science degree program.
🌐
Medium
medium.com › womenintechnology › journey-to-java-part-1-d8fa449db764
Journey to Java: Part 1. Learning Java as a Python Programming… | by Nisha Kaushal | Women in Technology | Medium
January 27, 2024 - Because I am in the data science ... to learn Java, since Python is the most widely-used language in the field?” Honestly, it’s not so much to advance my career, as it is the fact that I just like learning new things! Also, I can consider this a type of redemption arc for my static coding attempts. I am personally learning from Runestone Academy, the same place I originally learned Python. If you learn ...
🌐
Sololearn
sololearn.com › en › Discuss › 465026 › can-i-learn-python-without-learning-java
Can i learn python without learning java?? | Sololearn: Learn to code for FREE!
June 14, 2017 - This is a discussion on if you can learn Python without learning Java... Answer : Yes, its. completely fine to do so. Python has no similarities in syntax to Java. Its more like ruby...
🌐
Reddit
reddit.com › r/learnprogramming › as a complete beginner what should i start with python or java?
r/learnprogramming on Reddit: As a complete beginner what should I start with Python or Java?
July 2, 2024 -

I am about to join college in 1 month and will be starting my coding journey. On most youtube videos people say that beginners should start with either java or python.

I like Ai stuff and that is mostly done by python (acc to what I found on the internet) but then Java is for mostly opensource and development( again acc to internet). Open source and development seems like more leaning towards better placements but then python seems easy and most Ai and ml is going on python.

I'm very confused right now, I wanna be able to build some good stuff with either language, but starting out is just overwhelming. No idea where to start.

Edit 1: I have kind of decided to start with Java and my college with probably start with C language so I'll try that in the 1 month I have left.

🌐
LearnPython.com
learnpython.com › blog › java-vs-python
Should I Learn Python or Java? | LearnPython.com
December 12, 2022 - While it is also possible to do machine learning with Java, there is much less community support. Again, it comes back to what you want to achieve – a programming language is only a tool. But remember: Python gives you more options than Java. ... Does the future belong to Java or Python? No one really knows – programming and software development generally move extremely fast.