Answer

case class Answer(text: String, isCorrect: Boolean)

An answer has a text and is correct or wrong

Value parameters:
isCorrect

an answer is correct or wrong

text

the text of the answer

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product