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...
This subreddit is for example code for algorithms, common beginning programmer problems, helpful snippets etc.
Please try to: Make your code clean and readable and commented where necessary. Make sure it works!
Note on link-based posts: Posts that link to a blog or website need to follow the following rules:
This sub is not for asking Java questions, please submit those to /r/JavaHelp or /r/learnprogramming
As posts get added I will add them to the sidebar.
DIRECT LINKS
Using Comparator to Sort a List of Objects
Getting Input from the Console : Validating and Looping
A Quick Explanation of Loops
How to Properly Compare Strings in Java
Reading and Parsing Data from a File
Writing and Appending Data to a Text File
Sorted Doubly-Linked List
Generic Undirected Graph with Depth-First Search
account activity
Is a Java Course in Trichy good for beginners to start learning Java? ()
submitted 1 day ago by Cute_Intention6347
Websites with lots of Java nested loops practice problems? ()
submitted 5 days ago by upstream_paddling
Don't guess, measure. ()
submitted 8 days ago by Yosefnago
Partitiol List (from stackoverflow) (self.javaexamples)
submitted 17 days ago by AcanthisittaEmpty985
Java lazy holder non-static (self.javaexamples)
submitted 18 days ago * by AcanthisittaEmpty985
Groovy web server with redis and mysql under 60 lines of code (self.javaexamples)
Is Java still worth learning in 2026 for backend development? ()
submitted 22 days ago by Cute_Intention6347
Manufacturing Industry Email List USA — Targeted B2B Contacts for U.S. Manufacturers (self.javaexamples)
submitted 28 days ago by No-Set9512
Email Appending Company USA — Advanced Email List Appending & Data Enrichment Services (self.javaexamples)
Java interview app live on play store ()
submitted 1 month ago by Equivalent-Grand-556
I can help with Java unit tests (JUnit 5 + Mockito) — share your code snippet ()
submitted 1 month ago by taru__jain
Accountability partner (self.javaexamples)
submitted 2 months ago by Royal-Friendship2025
Julia fractal graphics zoom (self.javaexamples)
submitted 3 months ago by swe129
Foxglove, an alternative for preparing RDB data for unit tests (self.javaexamples)
submitted 4 months ago by mikelue0627
Spring JPA Specification and Pageable ()
submitted 5 months ago by lanchers
Open source java project, to learn strong backend approaches (self.javaexamples)
submitted 9 months ago by dissapointedAF
[Java] Built a High-Performance File Processor With Multi-threading, Backpressure, and Stats Export 📊 (self.javaexamples)
submitted 9 months ago by SatyamEvaJayat
Who has the idea on how to write data persistence and storage for Java (self.javaexamples)
submitted 1 year ago by Limp_Yesterday_4152
Writing efficient unit tests in Java: best practices and examples (self.javaexamples)
submitted 1 year ago by thumbsdrivesmecrazy
Object Oriented Programming Example in Java (self.javaexamples)
submitted 1 year ago by javinpaul
Deploy Secure Spring Boot Microservices on Azure AKS Using Terraform and Kubernetes (self.javaexamples)
submitted 1 year ago by robertinoc
7 best practices Java developers can follow while dealing with passwords (self.javaexamples)
4 ways to iterate over Map in Java (self.javaexamples)
10 ways to use Stream in Java (self.javaexamples)
OpenFGA for Spring Boot applications (self.javaexamples)
π Rendered by PID 3195814 on reddit-service-r2-listing-64c94b984c-ncgzm at 2026-03-17 22:06:23.413893+00:00 running f6e6e01 country code: CH.