JAVA Atm and account classes

Write two classes. One is called Account. It will have a private data field called balance,
  a get and set method for the balance, and a constructor that lets you set the balance
   when an Account class is created. Next write a class called ATM with a main method. 
   When the program is run ten accounts will be created with ids 0 though 9 and initial balances of $100. 
   The system prompts the user to enter an id. If the id is entered incorrectly,
    ask the user to enter a correct id. Once an id is accepted, the main menu will be shown.
     You can enter a choice of 1 for viewing the current balance, 2 to withdraw money, 3 to deposit money,
      and 4 to exit to the main menu. Once you exit, the system will prompt for an id again.
       If the user enters a negative number at the main menu the program ends.