r/learnjava • • Aug 12 '22

I can't wrap my head up around Dynamic Arrays

0 Upvotes

Recently I have been learning data structures I understand the concept but not 100% and in java I didn't understand the code that the guy in the video I have been watching to learn it so can any one help me with this (Sorry for my English)


r/learnjava • • Dec 22 '16

Thinking about learning Java so where do I start?

0 Upvotes

Hey guys, so I am really passionate about programming but I have no idea to start I am completely new (only knowing how to do the basic hello world program and some basic variable names). I keep getting into coding but then I just drop it and I don't know why. Can you guys give me some advice on where to start and how you continued to learn java?

Thanks guys


r/learnjava • • May 13 '14

In choosing a representation to correspond to individual buckets of a hash table, when and why would you choose a map over a list?

0 Upvotes

r/learnjava • • Apr 07 '22

Java Programming 1 Helsinki Mooc

0 Upvotes

Why are we recommending this Java course if all the videos are in Finnish with no English subtitles?


r/learnjava • • Jun 27 '19

Java!

0 Upvotes

Is codeacademy a good place to learn java from( if I am trying to get i depth knowledge of Java)? And what are some good places where I can practice coding Java?


r/learnjava • • Aug 23 '16

What kind of tests should I write as a software developer?

Thumbnail
pawelniewiadomski.com
0 Upvotes

r/learnjava • • Oct 24 '13

[HELP] I made a slide show using HTML, CSS, and jQuery.

0 Upvotes

[HELP] I made a slide show using HTML, CSS, and jQuery. But it seems that once you select one of the pictures you cannot go back to one of the ones before it. here is the code http://cdpn.io/CoDGK please help!


r/learnjava • • Feb 15 '21

I am having problems with this for

0 Upvotes
package For;
import java.util.Scanner;
public class lulatpreg3
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
	Scanner input=new Scanner(System.in);
	System.out.println("Enter grade of student number 1");
	double grade = input.nextDouble();
	double minave,ave;
	minave = 0;
	for (int i=1;i<3;i++){
		int studentnum = 1;
		double totalgrade = 0;
		while (grade>=0){
			totalgrade=totalgrade+grade;
			grade = input.nextDouble();
			studentnum++;
		}
		ave = totalgrade/studentnum;
		if (ave>minave){
			minave = ave;
	}

			
	}
	System.out.println(minave);
	}

}

r/learnjava • • Feb 13 '21

I've reached a point where I no longer let my Ego try to reinvent the wheel...

0 Upvotes

I just google it to find the best answer on StackOverflow or similar. Why waste my time not even knowing what I'm looking for when I can look at the answer and implement it, learning something in the process and progressing at light speed?

I've wasted so much time with stupid problems just because my ego told me "no, you have to solve it by yourself and be proud"; often finding very unefficient solutions that kept me away from discovering new functionalities...

Guys, this is about learning how to google, if you can run, why walk? You're not supposed to rediscover every algorithm invented by mankind. Reach the top the fast way then you can lose your time with unsolved problems.

Fight my position.


r/learnjava • • Jun 01 '21

Help translating from c++ to java

0 Upvotes

Hey, could you please help me translation this code to java?

class DialogDirector {
public:
virtual ~DialogDirector();
virtual void ShowDialog();
virtual void WidgetChanged(Widget*) = 0;
protected:
DialogDirector();
virtual void CreateWidgets() = 0;
};

additionally what does -> and :: mean in c++, and how could i translate it to java?


r/learnjava • • Apr 27 '16

Starting programming Java

0 Upvotes

So I know 0% programming and would like to learn... (starting with java) Any clue where's the best starting place?


r/learnjava • • May 08 '16

[X-Post] Have 0 knowledge in programming,Want to start Java, best free way?

Thumbnail
reddit.com
0 Upvotes

r/learnjava • • Sep 27 '25

“Help me with the roadmap for java full-stack”

0 Upvotes

So i know html, css and currently i am learning java script. At first i only knew about MERN stack and i was thinking of doing that but then i got to know about java full stack, after thinking about it a little bit i came to conclusion that i will be focusing on java full stack but now i am struggling to find a clear road map to my goal. The thing is i love creating something so i want to learn full stack to build something on my own, will be real grate full if you guys can help me with the road map and resources.


r/learnjava • • Aug 14 '25

Good underrated modern java courses

0 Upvotes

Hi everyone, Does anyone know of a well-structured, modern, project-based Java course with exercises? I’m not new to Java and I understand OOP concepts, but when I start small projects (like CLI apps), I struggle with managing and designing them — for example, deciding how to create and organize classes. Most YouTube tutorials feel a bit outdated. I’m looking for something good, even if it’s underrated.Thank you <3


r/learnjava • • 10d ago

Study vs AI

0 Upvotes

Hello community! I'm a sixth-semester information systems student, and I really like keys, but I still have a lot to learn. In fact, when I learned how to create a Spring application, I was so confused. My professor tells me to learn so I can correct the AI's mistakes when I notice its excesses and hallucinations, but how can I learn if it seems we won't need to write code anymore, If everything will be automated?! Another point is that I still don't know Python; I know it's an easier language and you can do much more with it than with Java.I don't live in the US, but I want to be good at this, I want to learn and develop projects, automate tasks, including people, and get a good job. I'd like to know from you, what did you do to reach that level? How did you do it? Did you use AI to learn?


r/learnjava • • Oct 07 '24

Created my first "complex" Java learning project! AI sped this up dramatically.

22 Upvotes

Edit: I'm at the age where I don't have to explain myself on the internet. AI isn't the ONLY way I'm learning Java. I'm also using YouTube, an app, and I'm writing code without AI helping me. Having a background in another language is also significantly accelerating my learning because programming itself is a transferrable skill and I don't have to spend time comprehending things such as what a class is.

Non-technical background. Python was my first language (I'd say I'm high intermediate). Started my Java Journey about 2 weeks ago.

Spent about 4-5 hours today creating a simple project that tracks your expenses. You can add and view expenses (amount, description, category, and date) which can be read from/written to a csv file. You can also view expenses by category. Just made a small interface where you can make selections on what you want to do. The coolest thing I did was learn about Maven on the same day, and I was able to package my project in a jar file and run it from there. From what I've heard, it's best practice to use Maven or Gradle for project structure.

I was generally amazed on how quickly I was able to get this done with the use of AI. I used a combination of Amazon Q and CodeWhisperer. I gave it my project goals at the start and it walked me through each part of the project's creation step-by-step. I'm pretty far into learning Java (I know about classes, constructors, etc.), so I feel like the use of AI here is valid. If I didn't understand something, I asked about it and I learned.

Really excited to see what I can do with Java next. I'm looking into how to make AWS-based projects as I'm wanting to create applications involving real-time data (AWS Kinesis).

Just know if I can do this, so can you!


r/learnjava • • Aug 20 '26

Java Beginners: What Is an Object Actually?

5 Upvotes

I'm a Java learner and I've been learning Java for the past few months, but I still don't truly understand what an object actually is.

I've watched several YouTube videos and used AI tools to understand it, but I keep getting the same explanation: "An object is nothing but data + code."

I understand the definition, but I still can't visualize or feel what an object actually is when I'm writing Java code.

Could someone explain it in a simple, practical way, preferably with a real world analogy and a small Java example?

I feel like I'm missing one fundamental concept here. Any explanation would be really helpful. Thanks!


r/learnjava • • Mar 08 '26

Is java dead?

Thumbnail reddit.com
0 Upvotes

r/learnjava • • Aug 04 '25

Need Help learning Java from scratch where do I start

0 Upvotes

P.S. I tried to learn Java, couldn't really get a hang of it, Now, recently came across r/java and found java to be interesting from peoples experience, made me want to learn it, could anyone help? where should I start


r/learnjava • • 9d ago

been learning on mooc.fi, is so far on part 2 of Java 1, is there a better way for this?

0 Upvotes
import java.util.Scanner;
class Main {
    public static void main(String[] args) {
       //  System.out.println("Try clicking the Run button.");
        Scanner scanner = new Scanner(System.in);

        System.out.println("What is your name?");
        String name = scanner.nextLine();
        System.out.println("Hello " + name + " ,lets begin using this calculator ");
                
        System.out.print("Enter your first number:");
        int first = Integer.valueOf(scanner.nextLine());
        
        System.out.print("Enter your second number:");
        int second = Integer.valueOf(scanner.nextLine());

        System.out.println("would you like to add, subtract, multiply or divide these numbers?");
            String math = scanner.nextLine();
        if (math.equals("add")) {
            System.out.println("Result: " + (first + second));
        }

        if (math.equals("subtract")) {
            System.out.println("Result: " + (first - second));
        }

        if (math.equals("multiply")) {
            System.out.println("Result: " + (first * second));
        }

        if (math.equals("divide")) {
            System.out.println("Result: " + (first / second));
        }     
    }
}

r/learnjava • • Sep 01 '24

Hello

0 Upvotes

I’m completely new to tech and programming/coding. No prior experience whatsoever. Where would someone like me start out if I wanted a career as a coder?


r/learnjava • • Oct 08 '24

Learn backend

0 Upvotes

Hi I know the basic of programming, data structures and POO in java. And what to learn backend, i have some knowledge of javascript. What do you recommend? I want to study all the fubdamentals and then some people recommendme spring. What kind of fundamentals, i must study?


r/learnjava • • Feb 25 '24

What should i learn in Java to be able to solve on leetcode?

1 Upvotes

So I started solving in leetcode with the basic knowledge that I had in java up till oops.But when i solving more problems i see this concepts called collections ,generics and all in which the syntax and stuffs that i cannot understand and what all should i learn before in java before jumping to problem solving?


r/learnjava • • Aug 05 '23

Could anyone guide me how to integrate an api to my spring app ??

0 Upvotes

Hello to you all, i am a beginner at api and stuffs i know how to build an simple api like todo list, simple ecommerce app without payment integration and stuffs but could anyone give me a explicit guide on what should i be mindful of while integrating api gateways, i meant for what should i create what and stuffs , i am struggling to integrate an api like payment api like ingram and stuffs i have integrated weather map api which is mainly only get request and it's kinda easy to integrate with key only but when ever i am asked to integrate api i donot even understand api, i take it very vaguely , how to understand api docs and implement accordingly , any help would be appreciated, could anyone guide me how to know what classes and what configuration i need to have to integrate api in general or ingram api in specific, any help would be highly appreciable.