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

18

u/Stack_Canary Jul 27 '20

One of the best ways to learn a new language is to solve exercises and typical code interview questions with the new language. I highly recommend you just start solving problems at i.e., https://leetcode.com/problemset/all/. If you are familiar with coding, basic math and some algorithms from college, you may have an idea how to solve the problems, and what remains then is googling how to do them in Java. This will also get you accustomed to typical programming tests.

I might've suggested something else of you wanted to learn full stack Java development with typical project work, but in your case I think this is a really good approach.

Either way, good luck!

5

u/GrimReaper1337 Jul 27 '20

This is solid advice! I agree solving exercises will get me accustomed to the kinds of things in Java that I'll need to use for the real thing. Thanks a lot for this!

1

u/adil62 Aug 24 '20

Please explain basic math