All Questions
55
questions
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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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,...
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.
...
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 ...
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 ...