Lab Experiment > 16BCE0077_JAVA_LAB-3. Vellore Institute of Technology PRODUCTION CT101


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]

Preview 1 out of 9 pages
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )