First program
FIRST JAVA PROGRAMMING import java.lang.*; import java.io.*; class Program { public String[][]qpa;public String[][]qca; Program()throws IOException { qpa=new String[10][5]; DataInputStream in=new DataInputStream(System.in); qpa[0][0]="Which of the following java operators is used for bitwise AND operation?"; qpa[0][1]="1.&"; qpa[0][2]="2.&&"; qpa[0][3]="3.&"; qpa[0][4]="4.||"; qpa[1][0]="What is the purpose of the finally block in java?"; qpa[1][1]="1.To handle exceptions"; qpa[1][2]="2.To execute code regardless of exceptions"; qpa[1][3]="3.To declare variables"; qpa[1][4]="4.To call methods"; qpa[2][0]="Which Java collection class is used to store unique elements?"; qpa[2][1]="1.ArrayList"; qpa[2][2]="2.HashSet"; qpa[2][3]="3.LinkedList"; qpa[2][4]="4.TreeSet"; qpa[3][0]="Which of t...