(a) Differentiate between if else if and switch-case statements
(b) Give the output of the following code:
String P = "20", Q ="19";
int a = Integer.parseInt(P);
int b = Integer.valueOf(Q);
System.out.println(a+""+b);
(c) What are the various types of errors in Java?
(d) State the data type and value of res after the following is executed:
char ch = '9';
res= Character.isDigit(ch);
(e) What is the difference between the linear search and the binary search technique?