
Someone please help me write this program. Create a class called Accounts that has the following members: i)An instance integer variable called acc_no. ii) An instance string variable called acc_name. ii)An instance double variable called balance. iv) An overloaded constructor that initializes the accno and accname and the other constructor initializes balance instance variables. v) A method called accdetails that prints out the contents of accno and accname variables. And another method called accbalance that returns the contents of balance variable.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.