Back to project page Sample-Quiz.
The source code is released under:
GNU General Public License
If you think the Android project Sample-Quiz 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.kevin.example.HttpJsonParseQuiz; //from w ww . j a v a2 s. c o m public class QuestionObject { String slno; public String question, answer, option1, option2, option3; public QuestionObject(String sno, String qn, String ans, String op1, String op2, String op3){ this.slno=sno; this.question=qn; this.answer=ans; this.option1=op1; this.option2=op2; this.option3=op3; } public QuestionObject() { // TODO Auto-generated constructor stub } public String getSlno(){ return this.slno; } public String getQuestion(){ return this.question; } public String getAnswer(){ return this.answer; } public String getOption1(){ return this.option1; } public String getOption2(){ return this.option2; } public String getOption3(){ return this.option3; } }