|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectquestions.Question
questions.Matching
public abstract class Matching
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 |
---|
public Matching()
Method Detail |
---|
public abstract void score()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |