SE209 Lab Exam

Wednesday April 26th, 09.00 - 11.00

Answer question one or question two


Question One

Write a program called Primes.j that:

Question Two

Examine the Java source code for a simple class called BankAccount.java. Without changing this file, write an extension of this class, call it SpecialAccount.j, with the following three additions:


NUIM Logo James Power,
Dept. of Computer Science
Last revised: 21 March 2000