32 Java Programming Examples Bank Part 8 |

preview_player
Показать описание
"Learn How To Design + Code A Complete App From Scratch To Playstore"
-~-~~-~~~-~~-~-

This Java Programming Example further builds the Bank application to include the deposit and withdraw methods

OUR WEBSITE

OUR SOCIAL LINKS
Follow us on
Рекомендации по теме
Комментарии
Автор

237 FREE Java slides!!!
These slides teach you everything you need to get started with Java programming. I will be adding a PART 3 in addition to the two parts that will cover more complex topics. I was so excited with these that I couldn't wait to upload it ASAP!

slidenerd
Автор

Hi vivz, I guess there shouldnt be the deduction of 10 bucks(transaction fee) as this was the first successful withdraw.I think there should be a correction in withdraw method where, firsttime=false should be in inner if loop. Thank u!!

HariPrasad-leqz
Автор

Well if it helps you to know that someone went through all nine parts of the tutorials and i finished it all, i think i also found a couple or bugs too, well for example if you start the program and want to create an account, when you are prompted for initial amount if you put anything else like a character it throws a NumberFormatException, well am sure if i play around with the code i might be able to figure it out, but could you through more light on that? Good work though i really appreciate your tutorial using real life examples i have been looking for something like this, because no matter how many tutorial you watch or how many pdfs you read they hardly work you through a life example keep it up man, you've got all my support, and if someday i can support financially i will, really do appreciate this.

japhethjay
Автор

Hey vivz I am getting an error and I had code the same coding as you have done .It is showing an exception "Exception in thread "main" .

arsalankazmi
Автор

Hi vivz, i think one logical error in withdraw part... First time withdrawn the money its print insufficient, but u make another valid amount transaction, Its also a first transaction.. Then why deduct the 10bucks.. I want the explanation please...

Sure_Sh
Автор

Hello...Your video's are awesome! Thanks for providing the code for the entire program. It will give me the opportunity to play with it and make changes, break it, then fix it if I can! For example, what changes should be applied when some number other then what is listed is entered? Like 7, or 8 for example. Also, I would want to add code to recognize when #1 is entered, but the account number already exist? Since your videos have been posted a while back, do you have any that have been posted recently or other programs that I could also follow? I would like for my understanding to increase beyond a beginners level. Thanks!

WhoWhatWhy
Автор

How did $10 deduct from the account, you withdrew the money only first time?

kunalnalawade
Автор

Hello,  
I was able to finish the whole program successfully with no much of a trouble because of your step-by-step video tutorials. However, I encountered few problems such as, when a user tries to create an account by inputting less than 100 bucks, the message pops up saying "You cannot create an account with less than 100 bucks", but it proceeds through next steps like, Enter the name and finally the account gets created. I don't know how to terminate the program soon after the user tries to create an account with less than 100 bucks as the initial balance input.

gurumech
Автор

I tried putting System.exit(0); command in the else part of the Account constructor but doing so, it makes me bereft of accessing the menu for the same run, thereby the program literally comes to a deadlock. Please post me a feasible solution.

gurumech
Автор

Bro plz help with this block of code, if l add this
System.out.println("Creating an account for a new customer: ");
System.out.println("Please Enter the initial amount in your account: ");
double bal = input.nextInt();
if(bal <= 0)
{
System.err.println("Please ensure the amount to be deposited is not negative");
} // coz we cannot add negative number to deposit
How to continue keep asking from start "Please Enter the initial amount in your account " again instead of
"Please Enter your Account Number: " which continues further...?? many thx

Vukic
Автор

well am sorry for writing too much but good job again, but i think from what i have read its actually bad programming practice to put everything in one file right, like all the classes, it might have been better to separate into 4 different files that is something like, Vivr.java, Account.java, Bank.java, Customer.java. Cant remember the name of the class that carried the main method because i named mine something else. And good job again bro am totally advertising and subscribing and liking. Thanks a lot

japhethjay
Автор

hey i do all thing perfectly but i have some error in my code can you share your code ?? please

jayshah
Автор

Hi,

Do you have the full code for this program?

searchbarwebs
join shbcf.ru