Que.program

import java.lang.*; import java.io.*; class Questions{ public String [][]qpa; public String[][]qca; Questions()throws IOException { qpa=new String[10][5]; DataInputStream in=new DataInputStream(System.in); qpa[0][0]="How to run Javaprogram on the command prompt?"; qpa[0][1]="1.javac JavaProgram"; qpa[0][2]="2.java JavaProgram"; qpa[0][3]="3.javac JavaProgram.java"; qpa[0][4]="4.No one"; qpa[1][0]="What is the use of the println method?"; qpa[1][1]="1.It is used to print text on the screen."; qpa[1][2]="2.It is used to print text on the screen with the linebreak."; qpa[1][3]="3.It is used to read text from keyboard."; qpa[1][4]="4.It is used to read text from a file."; qpa[2][0]="How to read a character from the keyboard?"; qpa[2][1]="1.char c=System.read()"; qpa[2][2]="2.charc=System.in.read()"; qpa[2][3]="3.charc=(char)System.read()"; qpa[...