questions
Class Matching

java.lang.Object
  extended by questions.Question
      extended by questions.Matching

public abstract class Matching
extends Question

The matching class contains a hashmap of Integers to Strings that is the answer key. The Letters array contains the letters used with matching to the integers that the user enters.


Constructor Summary
Matching()
           
 
Method Summary
abstract  void score()
          The scoring of the question works by dereferencing each user entered number on the letters array, retrieving the letter the user associated with the integer If the same integer returns the same letter from the answer key hash map the question is correct.
 
Methods inherited from class questions.Question
assignScore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matching

public Matching()
Method Detail

score

public abstract void score()
The scoring of the question works by dereferencing each user entered number on the letters array, retrieving the letter the user associated with the integer If the same integer returns the same letter from the answer key hash map the question is correct.