tiagoenriquez's picture
Upload 49 files
85784d8 verified
raw
history blame
581 Bytes
class Questao {
/**
* @type {string}
* @private
*/
pergunta;
/**
* @type {string}
* @private
*/
resposta;
/**
*
* @param {string} pergunta
* @param {string} resposta
*/
constructor(pergunta, resposta) {
this.pergunta = pergunta;
this.resposta = resposta;
}
/**
*
* @returns {string}
*/
getPergunta = () => {
return this.pergunta;
}
/**
*
* @returns {string}
*/
getResposta = () => {
return this.resposta;
}
}