Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

class c1 extends Thread

{
String ques[] = new String[5];
String opt[][]= new String[5][4];
String ans[] = new String [5];
int i;
int right=0,wrong=0,skip=0;
public c1()
{
ques[0]=" Which is the capital of China ?";
ques[4]=" Which is the capital of India ?";
ques[3]=" Which is the capital of Punjab ?";
ques[2]=" Who is the foreign minister of india ?";
ques[1]=" When the constitution of india is implemented in india ?";
opt[0][0]="A. shanghai";
opt[0][1]="B. beijing";
opt[0][2]="C. taiwan";
opt[0][3]="D. belgium";
opt[4][0]="A. mumbai";
opt[4][1]="B. kolkota";
opt[4][2]="C. New Delhi";
opt[4][3]="D. Bangolore";
opt[3][3]="D. none of these";
opt[3][1]="B. jalandhar";
opt[3][2]="C. bathinda";
opt[3][0]="A. amritsar";
opt[2][0]="A. arun jetli";
opt[2][1]="B. ravi shankar prashad";
opt[2][2]="C. amit shah";
opt[2][3]="D. sushma swaraj";

opt[1][0]="1950";
opt[1][1]="1947";
opt[1][2]="1949";
opt[1][3]="1948";
ans[0]='B';
ans[1]='A';
ans[2]='D';
ans[3]='D';
ans[4]='C';
}

}
public void run()
{
for(i=0;i<5;i++)
{
System.out.println(ques[i]);

}
}

You might also like