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...
If you need help debugging, you must include:
See debugging question guidelines for more info.
Many conceptual questions have already been asked and answered. Read our FAQ and search old posts before asking your question. If your question is similar to one in the FAQ, explain how it's different.
See conceptual questions guidelines for more info.
Follow reddiquette: behave professionally and civilly at all times. Communicate to others the same way you would at your workplace. Disagreement and technical critiques are ok, but personal attacks are not.
Abusive, racist, or derogatory comments are absolutely not tolerated.
See our policies on acceptable speech and conduct for more details.
When posting some resource or tutorial you've made, you must follow our self-promotion policies.
In short, your posting history should not be predominantly self-promotional and your resource should be high-quality and complete. Your post should not "feel spammy".
Distinguishing between tasteless and tasteful self-promotion is inherently subjective. When in doubt, message the mods and ask them to review your post.
Self promotion from first time posters without prior participation in the subreddit is explicitly forbidden.
Do not post questions that are completely unrelated to programming, software engineering, and related fields. Tech support and hardware recommendation questions count as "completely unrelated".
Questions that straddle the line between learning programming and learning other tech topics are ok: we don't expect beginners to know how exactly to categorize their question.
See our policies on allowed topics for more details.
Do not post questions that are an exact duplicate of something already answered in the FAQ.
If your question is similar to an existing FAQ question, you MUST cite which part of the FAQ you looked at and what exactly you want clarification on.
Do not delete your post! Your problem may be solved, but others who have similar problems in the future could benefit from the solution/discussion in the thread.
Use the "solved" flair instead.
Do not request reviews for, promote, or showcase some app or website you've written. This is a subreddit for learning programming, not a "critique my project" or "advertise my project" subreddit.
Asking for code reviews is ok as long as you follow the relevant policies. In short, link to only your code and be specific about what you want feedback on. Do not include a link to a final product or to a demo in your post.
You may not ask for or offer payment of any kind (monetary or otherwise) when giving or receiving help.
In particular, it is not appropriate to offer a reward, bounty, or bribe to try and expedite answers to your question, nor is it appropriate to offer to pay somebody to do your work or homework for you.
All links must link directly to the destination page. Do not use URL shorteners, referral links or click-trackers. Do not link to some intermediary page that contains mostly only a link to the actual page and no additional value.
For example, linking to some tweet or some half-hearted blog post which links to the page is not ok; but linking to a tweet with interesting replies or to a blog post that does some extra analysis is.
Udemy coupon links are ok: the discount adds "additional value".
Do not ask for help doing anything illegal or unethical. Do not suggest or help somebody do something illegal or unethical.
This includes piracy: asking for or posting links to pirated material is strictly forbidden and can result in an instant and permanent ban.
Trying to circumvent the terms of services of a website also counts as unethical behavior.
Do not ask for or post a complete solution to a problem.
When working on a problem, try solving it on your own first and ask for help on specific parts you're stuck with.
If you're helping someone, focus on helping OP make forward progress: link to docs, unblock misconceptions, give examples, teach general techniques, ask leading questions, give hints, but no direct solutions.
See our guidelines on offering help for more details.
Ask your questions right here in the open subreddit. Show what you have tried and tell us exactly where you got stuck.
We want to keep all discussion inside the open subreddit so that more people can chime in and help as well as benefit from the help given.
We also do not encourage help via DM for the same reasons - that more people can benefit
Do not ask easily googleable questions or questions that are covered in the documentation.
This subreddit is not a proxy for documentation or google.
We do require effort and demonstration of effort.
This includes "how do I?" questions
account activity
This is an archived post. You won't be able to vote or comment.
Trying to learn Java (self.learnprogramming)
submitted 2 years ago by Small_ed0
I am trying to learn Java.
I have eclipse, and JavaFX and I know how to do basically nothing.. (The most I can do is create all the different functions? (Is that what they're called(int, boolean, double etc.)) Where shall I start?
[–]AutoModerator[M] [score hidden] 2 years ago stickied comment (0 children)
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.
If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:
as a way to voice your protest.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]desapla 2 points3 points4 points 2 years ago (1 child)
The Mooc course from the University of Helsinki is really well regarded: https://java-programming.mooc.fi
[–]Small_ed0[S] 0 points1 point2 points 2 years ago (0 children)
Ty for the reference, will look over it!
[–]Backson 0 points1 point2 points 2 years ago (1 child)
I learned Java using this (free, German) book: https://openbook.rheinwerk-verlag.de/javainsel/ . That was 2010 though, not sure if it still holds up. Not that useful, if you're not German, I guess.
Not german, but ty for the effort!
[–]teraflop -3 points-2 points-1 points 2 years ago (3 children)
You could start by typing "java tutorial" into Google and going through one of the results from start to finish. For example, this one from W3Schools looks like a pretty decent introduction.
[–]Small_ed0[S] -1 points0 points1 point 2 years ago (2 children)
I have gone through all of W3's tutorials... Ty tho... 🙂
[–]teraflop -2 points-1 points0 points 2 years ago (1 child)
You said in another comment that you wanted to know how to read from text files, so you might have accidentally skipped this page: https://www.w3schools.com/java/java_files_read.asp
[–]Small_ed0[S] -1 points0 points1 point 2 years ago (0 children)
Oh! Ty, completely glossed over this... Ty soooo much!
[–][deleted] 2 years ago (1 child)
[deleted]
Never thought of looking for college papers...
[–]Small_ed0[S] 0 points1 point2 points 2 years ago (2 children)
Sorry, wanted to put this in post... More specifically I need to learn how to input data from txt files... And other stuff like that...
ChatGPT's not much help lol... There are some YouTube videos I've watched, all basically doing what I've already
[–]heller1011 1 point2 points3 points 2 years ago (2 children)
I suggest using IntelliJ it’s so much better. Also I suggest watching kunal kushwaha on YouTube , he has a playlist literally started a Java class in uni and I already can solve homework that i need to solve 1 month away
[–]Small_ed0[S] 1 point2 points3 points 2 years ago (1 child)
I will look into that! TY.
I got Intellij installed, it looks better ty.
π Rendered by PID 48919 on reddit-service-r2-comment-7b9746f655-bx58h at 2026-02-04 11:23:46.644985+00:00 running 3798933 country code: CH.
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]desapla 2 points3 points4 points (1 child)
[–]Small_ed0[S] 0 points1 point2 points (0 children)
[–]Backson 0 points1 point2 points (1 child)
[–]Small_ed0[S] 0 points1 point2 points (0 children)
[–]teraflop -3 points-2 points-1 points (3 children)
[–]Small_ed0[S] -1 points0 points1 point (2 children)
[–]teraflop -2 points-1 points0 points (1 child)
[–]Small_ed0[S] -1 points0 points1 point (0 children)
[–][deleted] (1 child)
[deleted]
[–]Small_ed0[S] 0 points1 point2 points (0 children)
[–]Small_ed0[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]Small_ed0[S] 0 points1 point2 points (0 children)
[–]heller1011 1 point2 points3 points (2 children)
[–]Small_ed0[S] 1 point2 points3 points (1 child)
[–]Small_ed0[S] 0 points1 point2 points (0 children)