r/JavaProgramming • u/javinpaul • 12d ago
r/JavaProgramming • u/crghhhhh • 12d ago
Looking for the Complete Telusko Enterprise Java Course
Does anyone have access to this course? If so, please DM me.
r/JavaProgramming • u/Prestigious_Bee_7640 • 13d ago
LeetCode 7 Reverse Integer
Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 - 1], then return 0.
r/JavaProgramming • u/Zar-23 • 13d ago
Oracle is offering 11 FREE certifications right now — including OCI, AI, Agentic AI, ERP, HCM, SCM, and more
r/JavaProgramming • u/hackster_io • 14d ago
Modern Java in the Wild is now live with a $4000+ prize pool!
r/JavaProgramming • u/Prestigious_Bee_7640 • 14d ago
LeetCode 6 Zigzag Conversion
LeetCode problem Zigzag Conversion.The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
r/JavaProgramming • u/Technical-Line2260 • 14d ago
Interview this weekend
I have interview in infosys this weekend...opening is "senior java developer" I cant see the JD yet so can anyone please guide me what all should I focus on be it java, advanced java, spring boot and more importantly coding..
r/JavaProgramming • u/venkat_talks • 14d ago
Which platform you use to practice java from zero to hero
Hey guys,
Lately there are many websites that come up to practice java programming, let's imagine yourself as a fresh learner and you need to practice java programming from basic output statement to advanced topics which platform you prefer other than hacker rank and leetcode
r/JavaProgramming • u/javinpaul • 14d ago
How to design Twitter/X Like a Senior Engineer at FAANG Interview?
r/JavaProgramming • u/Pen_in_EastToWest • 14d ago
Do you mind if I ask how to use anti gravity.
r/JavaProgramming • u/Prestigious_Bee_7640 • 15d ago
LeetCode 5 Longest Palindromic Substring
Longest Palindromic Substring
r/JavaProgramming • u/Brinvik • 14d ago
Alberta byggede en 25 år gammel Java-portal om på 4-5 dage med Claude
En portal til et tilskudsprogram. Håndkodet i Java for 25 år siden. Tog fem måneder at bygge første gang.
Alberta byggede den om på fire til fem dage med Claude Code. Deres eget tal.
Det er den vinkel ved casen, jeg ville kigge på, hvis jeg sad på arvekode. Ikke fordi du skal rippe alt op, men fordi build-versus-rebuild-regnestykket lige har flyttet sig.
Alberta planlægger at samle 185 gamle apps i ét ministerium til 16 moderne, genbrugelige apps. Samme funktion, langt mindre at vedligeholde.
Det vigtige er ikke farten alene. Det er, at Claude henviste til fil og linje undervejs, så et menneske kunne efterprøve hvert skridt. Fart uden verificerbarhed er bare hurtig gæld.
Hele analysen: https://brinvik.com/da/journal/alberta-claude-sikkerhedsgennemgang-kode
r/JavaProgramming • u/ScholarNo7930 • 14d ago
Help with Pseudocode
Hello. I am currently creating a currency converter for a Java programming course I am taking for credit. I ended up do you process a bit out of order. I was asked to create the pseudocode before the actual program. I did the opposite. I am terrible with Pseudocode and was hoping that someone could tell me if this Pseudocode followed along with my program properly. Below is the program followed by the code. Sorry if I made this a bit difficult. I am running on very little sleep and I'm finding myself forgetting the finer details. Thank you for any help you can offer.
Program:
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Main { // Changed from CurrencyConverter to Main
private static final Map<String, Double> exchangeRates = new HashMap<>();
static {
// Initialize exchange rates relative to the US dollar
exchangeRates.put("USD", 1.00);
exchangeRates.put("EUR", 0.931262);
exchangeRates.put("GBP", 0.807933);
exchangeRates.put("INR", 83.152991);
exchangeRates.put("AUD", 1.536377);
exchangeRates.put("CAD", 1.367454);
exchangeRates.put("SGD", 1.353669);
exchangeRates.put("CHF", 0.897854);
exchangeRates.put("MYR", 4.733394);
exchangeRates.put("JPY", 149.327016);
exchangeRates.put("CNY", 7.302885);
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String continueConversion;
do {
String originalCurrency = getCurrencyCode(scanner, "Enter original currency code (USD, EUR, etc.): ");
double amount = getPositiveAmount(scanner);
String targetCurrency = getCurrencyCode(scanner, "Enter the currency to convert to (USD, EUR, etc.): ");
double convertedAmount = convertCurrency(originalCurrency, targetCurrency, amount);
System.out.printf("Amount in %s: %.2f%n", targetCurrency, convertedAmount);
System.out.print("Do you want to convert another amount? (yes/no): ");
continueConversion = scanner.nextLine().trim().toLowerCase();
} while (continueConversion.equals("yes"));
System.out.println("Thank you for using the currency converter!");
scanner.close();
}
private static String getCurrencyCode(Scanner scanner, String prompt) {
String currency;
do {
System.out.print(prompt);
currency = scanner.nextLine().toUpperCase();
if (!exchangeRates.containsKey(currency)) {
System.out.println("Invalid currency code. Please enter a valid one.");
}
} while (!exchangeRates.containsKey(currency));
return currency;
}
private static double getPositiveAmount(Scanner scanner) {
double amount;
do {
System.out.print("Enter amount of money in the original currency: ");
while (!scanner.hasNextDouble()) {
System.out.print("That's not a number! Try again: ");
scanner.next();
}
amount = scanner.nextDouble();
scanner.nextLine(); // Consume the newline character
} while (amount <= 0);
return amount;
}
private static double convertCurrency(String originalCurrency, String targetCurrency, double amount) {
double originalToUSD = 1 / exchangeRates.get(originalCurrency);
double usdToTarget = exchangeRates.get(targetCurrency);
return amount * originalToUSD * usdToTarget;
}
}
Pseudocode:
INITIALIZE exchangeRates AS a MAP
FUNCTION main
CREATE scanner FOR user input
SET continueConversion TO empty string
REPEAT
SET originalCurrency TO getCurrencyCode(scanner, "Enter original currency code (USD, EUR, etc.): ")
SET amount TO getPositiveAmount(scanner)
SET targetCurrency TO getCurrencyCode(scanner, "Enter the currency to convert to (USD, EUR, etc.): ")
SET convertedAmount TO convertCurrency(originalCurrency, targetCurrency, amount)
PRINT "Amount in targetCurrency: convertedAmount"
PRINT "Do you want to convert another amount? (yes/no): "
READ continueConversion FROM user input
UNTIL continueConversion IS NOT "yes"
PRINT "Thank you for using the currency converter!"
CLOSE scanner
FUNCTION getCurrencyCode(scanner, prompt)
SET currency TO empty string
REPEAT
PRINT prompt
READ currency FROM user input
CONVERT currency TO uppercase
IF currency NOT IN exchangeRates THEN
PRINT "Invalid currency code. Please enter a valid one."
ENDIF
UNTIL currency IS IN exchangeRates
RETURN currency
FUNCTION getPositiveAmount(scanner)
SET amount TO 0
REPEAT
PRINT "Enter amount of money in the original currency: "
WHILE NOT user input IS a valid number DO
PRINT "That's not a number! Try again: "
READ user input
ENDWHILE
READ amount FROM user input
UNTIL amount IS GREATER THAN 0
RETURN amount
FUNCTION convertCurrency(originalCurrency, targetCurrency, amount)
SET originalToUSD TO 1 / exchangeRates[originalCurrency]
SET usdToTarget TO exchangeRates[targetCurrency]
RETURN amount * originalToUSD * usdToTarget
r/JavaProgramming • u/lIlIlIKXKXlIlIl • 16d ago
I Used to Think Memory Leaks Were Loud in Java
medium.comr/JavaProgramming • u/javinpaul • 16d ago
How to Crack Coding Interviews in 2026: The Complete Step-by-Step Guide
medium.comr/JavaProgramming • u/Prestigious_Bee_7640 • 16d ago
LeetCode JAVA
In-depth LeetCode algorithm tutorials with full Java practical demos. We break down brute-force, optimized and optimal solutions, analyze boundary conditions and problem-solving logic to help you stop memorizing templates mechanically. Suitable for campus recruitment, social recruitment coding practice and absolute beginners. New algorithm insights released daily to help you ace big tech algorithm interviews effortlessly. https://youtu.be/Z5bmVeEDiCc
r/JavaProgramming • u/esdot_00 • 16d ago
Daumenkino
codepen.io4 Bilder mit einfachen JavaScript.
r/JavaProgramming • u/FunnyIllustrious5257 • 17d ago
Reviev my project
I'm wondering whether it's already at a level where I could show it as a portfolio piece for my first job, i.e. include it in my CV. Would you be able to take a look and let me know what you think? Thanks
r/JavaProgramming • u/sk_aeon • 17d ago
Finding a community for Java people
I'm currently a student, learning Spring Boot (Web Tech) in Java, and I cannot find a good discord server or slack particularly for Java. So, could someone put up a link of discord or slack servers they use to communicate with other Java developers and students. Could really help.
r/JavaProgramming • u/Working_Past_9778 • 17d ago
Accenture Fullstack Java Development interview questions
Hello,
I’m a fresher and I have a 1-hour interview coming up that includes both hr and technical rounds. I would like to know what I’m expected to prepare as a fresher. Could you please guide me?
r/JavaProgramming • u/javinpaul • 17d ago