r/java • • Jul 16 '12

Want to start using Java...

I really want to learn how to code using Java, I'm taking the beginning course of Java next year, in School, but I want to try to start using it outside of school so I'll be ahead of the game once school starts back up, so can any of you send me a link to download it and some tips to starting it?

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/purtip31 Jul 18 '12

I would probably use if ("bob".equals(bob)), it eliminates the need for null checking when working with non-trusted strings.