NBKRIST Java Hub

← Back to Exam Panel

Problem Statement: Account Management System

Your task is to create a very simple banking application using Java. The goal is to manage a single bank account and practice the fundamental concepts of **classes**, **objects**, **encapsulation**, and **exception handling**.

Functional Requirements

Technical Requirements

Testing Requirements

Your main method must demonstrate the program works by testing the following scenarios:

  1. Initial State: Create an account with an initial balance of $1000.
  2. Successful Deposit: Make a deposit of $500. Print the balance to confirm it is now $1500.
  3. Successful Withdrawal: Withdraw $200. Print the