Skip to main content

All Questions

Tagged with
1 vote
2 answers
115 views

Refactoring legacy java banking code

Hey i have some legacy code i'm working on (It is open source so no problem in me sharing it!). I wanted to refactor some parts in the extractResult method since it ...
Saltuk Kezer's user avatar
3 votes
1 answer
95 views

Mortgage calculator with Swing for Helsinki MOOC

New to Java, just finished the Helsinki MOOC course. I programmed a basic mortgage calculator as my first solo project and while it works, I have a few questions about coding style: The listener and ...
JeremiahDixon's user avatar
-1 votes
1 answer
912 views

Compound interest calculator homework [closed]

I am a beginner at coding Java and am having a tough time understanding what is wrong with this code. This is an assignment I had posted about earlier and I also went to a Java tutor at my school for ...
Tori's user avatar
  • 1
2 votes
0 answers
99 views

Computing most-cost effective loans in financial graphs using Java

Problem statement We are given a directed graph \$G = (V, A)\$, where \$V\$ is the set of actors and \$A \subseteq V^2\$ is the set of directed arcs. Existence of an arc \$(u, v) \in A\$ is ...
coderodde's user avatar
  • 28.9k
2 votes
1 answer
19k views

OOP ATM application

As part of my studies, I need to gather peer feedback as part of my object-oriented ATM application. I have only used classes (inheritance etc.) and no GUI is required for this. Could you please give ...
Sat Kaur's user avatar
4 votes
1 answer
10k views

Basic Java bank account

I'm having a bit of trouble setting up a basic bank account in Java. I'm trying to create a transfer method that I can call to transfer funds from one account to another. The problem is that the ...
Crafty-Gazelle's user avatar
5 votes
1 answer
444 views

Buy-sell order board, as a TDD interview

I recently did a technical test for a well known Bank in 'The City' and as a result got no further. They were also kind enough not to give me any feedback. The test entailed a TDD approach to a simple ...
Chris Danson's user avatar
3 votes
1 answer
413 views

Student project that calculates the return on an investment

This is a simple student project that calculates the return on an investment with a given investment amount, number of years invested, and annual interest rate. I know this is pretty basic, but I'm ...
Joshua Ferrell's user avatar
2 votes
1 answer
4k views

IRS Tax Calculator in Java

I am working on a tax calculator for a school assignment and was hoping to get some feedback on my current progress. I kind of feel like I over-complicated the code. NOTE: I am required to do all of ...
Gabriel_W's user avatar
  • 123
3 votes
1 answer
17k views

Simple bank account

I believe it is very much possible to make this code more efficient, possibly adding interfaces, inheritance or possibly divide the main class into more classes. I will improve some of the code such ...
JohnM's user avatar
  • 31
0 votes
1 answer
227 views

Finance manager

Somewhat experienced with JavaFX, but this is my first potentially large JavaFX project that I recently started and wanted some feedback on anything that could be done better or more efficiently thus ...
JSextonn's user avatar
  • 686
2 votes
3 answers
8k views

Java Cash Register adding methods [closed]

Just started learning Java three days ago and am currently doing a problem in my textbook where I do some basic cash register functionality. So far my code can factor in taxes, let the user get change,...
Motombo's user avatar
  • 121
7 votes
1 answer
1k views

Calculate loan rate based on payment and duration in months

So I have the following code which works well-ish. Looking for ideas on how to improve it. ...
Uncle Iroh's user avatar
4 votes
1 answer
6k views

Basic Internet banking application

I programmed in Java before, but I feel that I lack the "true way" of programming (OOP concepts, design, algorithm), so I started to learn all of these but I need your opinions and suggestions so I ...
Alexandru Cosmin's user avatar
4 votes
3 answers
769 views

Bitcoin trading system

Recently I did an exercise for a interview pre-screening, but was not selected. They did not give much detailed feedback apart from "the code was not up to what they wanted". It would be really ...
Harshal's user avatar
  • 41

15 30 50 per page