Write a program in Object Oriented Programming and create a class called BankCustomer and also have following variable customer_id type String,customer_name type String and saving_accounts type array of 5 size and also following methods getCustomer_id , setCustomer_id ,getCustomer_name ,setCustomer_name , getSaving_accounts ,setSaving_accounts ,getNo_of_accounts, setNo_of_accounts,open_new_account. If particular customer have 5 Account then New Account can not be created and display the Message ” Account can not be open ” if accounts has less than 5 then New account can be created.
#Sales Offer!| Get upto 25% Off: