overview these concepts are deep and far reaching it' almost impossible to assimilate them the first time you see themso don' worry if you feel bit confused as you see more classes and what they dothe mist should start to clear runnable object-oriented program let' look at an object-oriented program that runs and generates actual output it features class called bankaccount that models checking account at bank the program creates an account with an opening balancedisplays the balancemakes deposit and withdrawaland then displays the new balance listing shows bank java listing the bank java program /bank java /demonstrates basic oop syntax /to run this programc>java bankapp ///////////////////////////////////////////////////////////////class bankaccount private double balance/account balance public bankaccount(double openingbalance/constructor balance openingbalancepublic void deposit(double amountbalance balance amount/makes deposit public void withdraw(double amountbalance balance amount/makes withdrawal public void display(/displays balance system out println("balance=balance)/end class bankaccount ///////////////////////////////////////////////////////////////