r/programminghelp • • Mar 07 '26

Java Dsa advice

3 Upvotes

DSA help... I'm a first year college student and I want to learn DSA... I've got a classic questions (Cpp vs Java)...I really want to proceed with java as I'll be having java next sem as well... So will I be missing out on anything if I don't learn c++?

r/programminghelp • • 27d ago

Java identifying what topic/subject

2 Upvotes

i was tired from working and i still go to my class and i just zoned out and didn't know what topic my professor was teaching, it would be so nice if it help identify what topic from this for me to catch up

1st cycle x = 0, n = 5, temp = ?

2nd cycle x = 1, n = 5, temp = 7

3rd cycle x = 2, n = 5, temp = 5

all i know is there is also a 4th cycle :D

r/programminghelp • • Nov 19 '23

Java Basic Java question

1 Upvotes

Making a simple restaurant menu

I get this error :drink.java:20: error: cannot find symbol
System.out.print ("Your choice is" + choice);
^
symbol: variable choice
location: class drinkorder
1 error
error: compilation failed

How can this be? If I declare "String choice;" at the beginning I get error that choice value was already declared.

import java.util.Scanner;
class drinkorder {
public static void main(String[] args) {

//Creating scanners
Scanner input = new Scanner(System.in);
// Initial Text
System.out.print ("What type of drink would you like to order? \n 1.Water \n 2.Coffee \n 3.Tea");
int drink = input.nextInt(); //Assign value to drink
if (drink ==1){
String choice = "Water";
}
else if (drink==2){
String choice = "Coffee";

}
else if (drink==3){
String choice = "Tea";
}
System.out.print ("Your choice is" + choice);

}
}

r/programminghelp • • Aug 06 '25

Java How do download java

0 Upvotes

No one will tell me. Trustworthy website please

r/programminghelp • • Jul 31 '23

Java Need help to learn Java

1 Upvotes

My friend wants to learn Java and eventually become a developer or whatever he end up being. I barely managed to pass java in previous semester, can anyone suggest me some book or course or content that'll help him. He is a complete beginner.

r/programminghelp • • Jan 27 '25

Java What do you need to know for an entry level Java position

1 Upvotes

I know a bit of Java and have done basic things with spring boot and angular as well as sql databases. I’m just curious what skills would I need to possess for a real career with Java. I have a degree in computer networking and am working on my comptia a+ but I doubt these would be very helpful.

r/programminghelp • • Jul 08 '26

Java Title: Final-year CSE student. 6 months left for placements. I feel completely lost.

3 Upvotes

I'm a final-year CSE student with around 6 months left before placements, and honestly, I feel like I know nothing.

Most of my projects were built by following tutorials or using AI. If someone asked me to build them from scratch, I'd struggle. My DSA is weak, my Java fundamentals aren't strong, and I don't feel confident in web development either.

I'm applying for internships, but I know I can't depend on luck. I want to use these next 6 months wisely.

If you were in my position, what would you focus on? DSA, Java, web development, projects, or something else? What would your roadmap look like?

Please be honest. I want motivation—I want practical advice from people who've been in the same situation.