Vellore Institute of Technology PRODUCTION CT101 JAVA LAB -6 Harshit Aggarwal 16BCE0077 1. Write a Java Program to create a Class BankAccount that maintains a bank account balance. Its constructors and methods throw a NegativeAmountexception if there is an attempt to make the balance negative, deposit a negative amount and withdraw a negative amount. Class BankAccount supports two ...[Show More]
Category: | Lab Experiment |
Number of pages: | 9 |
Language: | English |
Last updated: | 1 year ago |
Downloads: | 1 |
Views: | 3 |