Back to project page AndroidQuiz.
The source code is released under:
MIT License
If you think the Android project AndroidQuiz listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bignerdranch.android.androidquiz; //w w w . j a v a 2 s . c o m public class TrueFalse { public TrueFalse(String question, boolean trueQuestion) { setQuestion(question); setTrueQuestion(trueQuestion); } public String getQuestion() { return mQuestion; } public void setQuestion(String Question) { this.mQuestion = Question; } public boolean isTrueQuestion() { return mTrueQuestion; } public void setTrueQuestion(boolean TrueQuestion) { this.mTrueQuestion = TrueQuestion; } private String mQuestion; private boolean mTrueQuestion; }