r/learnjava • • Jul 27 '20

Need to learn Java within a week

Hi guys, a company I'm interested to join has asked me to take up a competitive programming test in Java. However, my main programming language of choice is Python. I'm not new to programming, I've been doing it consistently for college for the past 4 years but I've always dodged Java. Now the time has come to actually learn Java but the problem is I only have a week to take up the test. Could you guys please point me towards some resource(s) that I can use to cram as much Java as I can within a week's time?

Note: I don't need to be able to develop GUIs or anything. The goal is to just be competent in their programming test.

114 Upvotes

50 comments sorted by

View all comments

3

u/[deleted] Jul 27 '20

Since you're already proficient in Python, probably it would be best to try to translate your Python code into Java.

3

u/GrimReaper1337 Jul 27 '20

Concept-wise? Yes. I understand the basic concepts are transferable but solving a challenge in Python and then constantly looking up how to translate it into Java would take a lot of time! This is a time-constrained test so...I don't think this is a good idea unless there's some automated Python to Java translator 🧐

2

u/[deleted] Jul 27 '20

I was thinking that you already have some coding tasks solved in Python. So, you would only have to translate it. Even so, perhaps, another good idea for this particular situation would be to look into algorithms and see the solution to have a grasp of the language.

2

u/GrimReaper1337 Jul 27 '20

Yes, that's a great idea! That way I can learn the language efficiently..thanks a lot!