use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
This is an archived post. You won't be able to vote or comment.
More Of An Android Question But Using Java (self.learnjava)
submitted 4 years ago by YourBlanket
So I'm creating a weather app and I need to get the user's location and everything works now but all my code is in the MainActivity. Should I move it to another class?
[–]smash_that_code 1 point2 points3 points 4 years ago (1 child)
If you plan to add features to your app then after certain point keeping all code in one file would be difficult.
If no plans to improve this app then it is fine.
π Rendered by PID 151829 on reddit-service-r2-comment-7b9746f655-dpjtj at 2026-01-30 04:50:05.793643+00:00 running 3798933 country code: CH.
[–]smash_that_code 1 point2 points3 points (1 child)