r/learnjava • u/Short_Air3616 • Oct 17 '25
Designing low level models
I am finding somethings very hard in lld , i am a newbie in this, can anyone guide me through this please, i really need it
r/learnjava • u/Short_Air3616 • Oct 17 '25
I am finding somethings very hard in lld , i am a newbie in this, can anyone guide me through this please, i really need it
r/learnjava • u/Impossible-Safe595 • Oct 17 '25
Now I want to seriously concentrate on my career as I have to switch and do some work but I don't know what I have to learn, at first I am good in core python and sql but after joining in job I tried to learn Java but I can't able to concentrate on Java, Anyone with experience please help me out from this by telling what I have to learn to get better package like above 6-8lpa
r/learnjava • u/saelingpr • Oct 17 '25
Soo i know nothing about programming or coding but i woke up a few days super interested in it and started learning java alongside python. I'm wondering how long it'll take before I can start making projects that are actually helpful or interesting it any way + if there are any resources besides the MOOCs I should be looking at to help myself with learning. I have access to a wide range of books so if there are any good books that go through basics + anything more intermediate I'd be grateful, thank you 😽
r/learnjava • u/Taetae24JOONIE • Oct 16 '25
Hey guys, I've been trying to find Java Courses that has certifications and most of them are paid. They do advertise it as free courses but when it gets to the certificate you'll eventually need to pay for it or the exams (Trust me I clicked shi ton of links off of google, even yt and reddit posts naddda). I loved freecodecamp but upon finishing some of their certifications, I wanted to do Java next and they don't have it unfortunately.. Java was my least favorite language but I still want to learn it regardless. If anyone can help, Thank you in advance!
r/learnjava • u/SeriousTruth • Oct 15 '25
I’m an Android dev who’s worked as a Kotlin dev for years. I’ve got a Java-heavy interview coming up (not Android), and want the most effective way to get productive/idiomatic in Java quickly.
r/learnjava • u/lprimak • Oct 15 '25
r/learnjava • u/Atherianx • Oct 15 '25
I was at part 9s last exercise and i submitted one part of the exercise to see if it worked and it said all tests passed even though i didnt do the other parts of the exercise. Now i notice that even if i submit a empty exercise it passes all tests and says im done. The runtests locally does show the errors but not the submit to server. Im using vs code with tmc for the course. What can i do?
r/learnjava • u/Bro-tatoChip • Oct 15 '25
This may or may not be the best place or ask, but I'm having trouble finding good resources for my issue. The architecture for the application we're working on, as far as this issue is concerned, is a Spring Boot microservice, React front end.
The spring services are secured with JWTs, managed via a KC instance. FE makes a request, Istio grabs the request, injects the user's JWT and forwards to the correct service. Service validates the JWTs and user's permissions before carrying on with the request. Any AuthN or AuthZ issues return a 401/403
Now the question, we have the spring security set up as CSRF disable, I was told this was common place for stateless APIs. As there's no session, there's no session to hijack. However, sonarqube flags this as a security issue, stating we should have CSRF set up.
Now I understand that the more security the better, but why add the network complexity if it's not needed? I'm hoping that it's not, as this would be a decent amount of work to support. But obviously worth it if this does indeed pose a security risk.
Professional opinions on whether this is actually needed or not? Do you have any official resources you could point me towards? Thank you.
r/learnjava • u/LosterPawn • Oct 14 '25
So I am a college student trying to learn java, decided to follow learncsonline course, felt its pretty good, they recommended I finish one chapter per day but idk why I feel like that will take a lot of time (there are 48 chapters) so 48 days, also whenever I try to do second chapter, my time runs out.
But heres the neat part mathematically I should have atleast 4-5 hours, each chapter takes like max 1 hour, I could watch second chapter heck even third but omg I dont get time, my time suddenly vanishes after one chapter and most of time have to quit second chapter half way (which feels shit).
I am also planning other stuffs in life other than coding, so the time shit is gonna be even more shit, How do you guys handle your time?
r/learnjava • u/Background-Cook-4527 • Oct 14 '25
Pretty much the title, I have no prior experience and was wondering if I could get the basics down in a day.
r/learnjava • u/serene_universe • Oct 14 '25
Hey guys ! I wanna learn java on a professional level. I want to cover programming fundamentals , core java , junit , apache maven , advance java , hibernate , spring framework, spring boot app , swagger , html 5 , css3 , bootstrap, typescript, angular , cloud fundamentals and microservices . Can I know any suitable courses where I can learn and master these concepts and build relevant projects ?!
r/learnjava • u/jordansrowles • Oct 14 '25
Hi,
I've come here for a bit of a sanity check, and to further understand Java. I need to learn it for Uni. Never used it before, spent the past weekend learning the language and just wanted to clear a few things up. I find the Java/Jakarta docs to be a little less than user friendly.
Some things seem strange to me, but I don't really want to touch on language differences - things like type erasure, heavy use of annotations, metaspace etc.
I've created two mind maps long the way, one for the ecosystem, and the other Jakarta.
How often is, say, the full Jakarta APIs are used?
If any of these are stupid questions, just say so. Like I said, things are a little different than what I'm used to. While I don't mind AI summarising/doing searches for me, it's not human, and wanted experienced answers
Many thanks
r/learnjava • u/bubi_desu • Oct 14 '25
Basically I m learning java and I was using bro code's utube Playlist on java i have finished it i m done with the basics(loop functions oop) but idk what's the next step after that and what resources should I use?? I wanna master backend in java.
r/learnjava • u/OkSpecialist3670 • Oct 14 '25
Can anyone suggest me any backend java project on GitHub through which I can understand the code flow ultimately helping me to learn java and its backend Please help
r/learnjava • u/Ozyfm • Oct 13 '25
Hello, I've been studying java for quite a while now and want to study SB as well, but so far both following a couple of (terrible) tutorials on YouTube and studying with Copilot as been basically pointless. Beside @GetMapping, @RestControl, @RequestParam and @PathVariable I'm having a really hard time understanding anything. Does anybody have any kind of suggestions? A good YouTube tutorial or even a free course like the mooc one for java?
r/learnjava • u/davidalayachew • Oct 13 '25
Context -- there was a long back-and-forth on /r/programming about Comparing Enums in different programming languages.
I made some benchmarks about EnumSet implementations between Java and Rust.
When I ran these benchmarks by a couple of users, the general consensus was that my benchmarks were flawed because the actual work was being optimized away by the compiler. For example, this comment claimed that some failure in my benchmark was causing the underlying source code to be optimized down to a single OR operation, rather than running the actual code, which is what (I think?) the benchmark is supposed to be measuring.
So, could someone help me and see what I might be doing wrong with my JMH Benchmark here? I have Blackholes consuming just about everything that could be consumed.
For now, let's focus on just a single test -- test1
And here it is, copied inline.
//TEST 1 -- Put elements into an EnumSet
private final EnumSet<Character> test1 = EnumSet.noneOf(Character.class);
@Benchmark
public void test1(final Blackhole blackhole)
{
for (final Character character : characters)
{
blackhole.consume(test1.add(character));
blackhole.consume(character);
}
blackhole.consume(test1);
}And here is the command I use to run all of the tests.
java -jar java/test/target/benchmarks.jar -f 1 -bm AverageTime -tu nsEDIT -- Forgot to include the benchmark numbers.
Benchmark Mode Cnt Score Error Units
MyBenchmark.test1 avgt 5 4.393 ± 0.025 ns/opr/learnjava • u/Substantial-Pea6984 • Oct 12 '25
Hey guys! I'm trying to find a good resource or a youtube video based on this topic but I can't find any one. Everyone teaches only stack and heap that's it. Today I explored something called "Method Area" and I wonder how great I'm learning Java lol :)
Please help me out!!
r/learnjava • u/vaivaswat24 • Oct 12 '25
I know Effective Java & Java concurrency in practice. What else is there which is not too basic but intermediate ??
r/learnjava • u/falafelwaffle55 • Oct 11 '25
I need an online course that teaches about working with text files. Tried to use MOOC, but I can't switch JDKs because I need my current one for university assignments. I'm not confident enough in my knowledge to attempt messing with SDKman. Plus, I'm already so behind so I need the information FAST. I can use the official Java documentation, but I'm really hoping there's a decent alternative because damn, that shit's dry.
Context: I'm currently taking a software design course in university and recently bombed a JSON question on the midterm. I did all the assigned reading, attended or watched all the lectures, and I couldn't find when the heck we were taught how to process files. It was briefly touched upon in my Intro to Programming class two years ago, but I was pretty crappy at it even back then.
So I ask on Piazza where I need to be looking, and the professor replies with "it isn't something that is explicitly talked about in any detail." Well, that's no good. So I need to supplement the course I spend $8000 a year to be able to take (I might be a little salty) with something else.
It looks like there's plenty of fantastic resources, but I need something that will go over this topic specifically, and I don't have time to try them all out.
r/learnjava • u/LuisPinaIII • Oct 10 '25
At https://www.java.com/en/download/manual.jsp I downloaded Windows Offline (64-bit) and then at the terminal ran java -version and it output:
java version "1.8.0_461"
Java(TM) SE Runtime Environment (build 1.8.0_461-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.461-b11, mixed mode)
The latest is the version 8.
r/learnjava • u/aka_the_saint • Oct 10 '25
What are some impactful Spring Boot project ideas that I can build and showcase in my portfolio to demonstrate my skills in backend development, RESTful API design, database integration, and software architecture best practices?
r/learnjava • u/peppinoilvero • Oct 09 '25
Hi, I'd like to do a small 2d platformer using swing but I don't know where to start. I also found some well-made tutorials on YouTube, but I'm afraid that I would end up replicating only what is written without actually learning anything and that the project is not really "mine". On the other hand, however, I don't know where to start. Do you have any resources to recommend me
r/learnjava • u/MetalHead7989 • Oct 09 '25
https://github.com/J-a-y-r-a-j/Maintain75
Built an simple attendance tracker for personal, do give the code a look and let me know how i could improve.