Thought for the Dazed

I've had to give up that Distance Learning course as I was having trouble seeing the teacher.

Flickr
www.flickr.com
RobMiles' items Go to RobMiles' photostream
Twitter
C# Yellow Book

Search entire site
« Exam Question 2 | Main | Ninja Gaiden »
Monday
May242004

Exam Question 1

Most people in my programming exam got the problem with this code. Can you? There'll be another tomorrow

switch (command) {
case 'a':
case 'A':
AddEntry();
case 'd':
case 'D':
DeleteEntry();
default :
System.out.println ( "Invalid command" ) ;
}

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.