prog1 - CNT 4714 Programming Assignment 1 Fall 2010 Title:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Page 1 Title: “Program Assignment 1: Multi-threaded Programming in Java Using Locks” Points: 100 points Due Date: Monday September 13 th by 11:55 pm (WebCourses time) Objectives: To practice programming cooperating, synchronized multiple threads of execution. Description: In this programming assignment you will simulate the deposits and withdrawals made to a fictitious bank account (I’ll let you use my real bank account it you promise to make only deposits! ). In this case the deposits and withdrawals will be made by synchronized threads. Synchronization is required for two reasons – mutual exclusion (updates cannot be lost) and because a withdrawal cannot occur if the amount of the withdrawal request is greater than the current balance in the account. This means that access to the account (the object) must be synchronized. This application requires cooperation and communication amongst the various threads (cooperating synchronized threads). (In other words, this problem is similar
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/24/2011 for the course CNT 4714 taught by Professor Llewellyn during the Fall '10 term at University of Central Florida.

Page1 / 4

prog1 - CNT 4714 Programming Assignment 1 Fall 2010 Title:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online