Which driver is called as thin-driver in JDBC ? September 13, 2025 by Admin A. Type-1 driver B. Type-2 driver C. Type-3 driver D. Type-4 driver ✅ The correct answer is option D.
Super is the predefined_______________? September 13, 2025 by Admin A. Method B. Keyword C. Keyword and Method D. None of above ✅ The correct answer is option C.
Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class? September 13, 2025 by Admin A. abstract B. static C. volatile D. final ✅ The correct answer is option B.
Package of drawstring() method is _________________? September 13, 2025 by Admin A. java.awt B. javax.swing C. java.applet D. java.io ✅ The correct answer is option A.
The class java.sql.Timestamp is associated with _____________? September 13, 2025 by Admin A. java.util.Date B. java.util.Time C. java.sql.Time D. None of above ✅ The correct answer is option A.
Which statements are most accurate regarding the following classes? class A{private int i; protected int j; } class B extends A{ private int k; protected int m; } ? September 13, 2025 by Admin A. An object of B contains data fields j, k, m B. An object of B contains data fields k, m C. An object of B contains data fields j, m D. An object of B contains data fields i, j, k, m ✅ The correct answer is option A.
Which class cannot be subclassed (or extended) in java ? September 13, 2025 by Admin A. Final class B. abstract class C. parent class D. None of above ✅ The correct answer is option A.
Automatic type conversion in Java takes place when________________? September 13, 2025 by Admin A. Two type are compatible and size of destination type is equal of source type. B. Two type are compatible and size of destination type is larger than source type. C. Two type are compatible and size of destination type is shorter than source type. D. All of the above ✅ The correct answer is option B.
Java is a _______________language? September 13, 2025 by Admin A. moderate typed B. strogly typed C. weakly typed D. none of these ✅ The correct answer is option B.
What is the output for the below code ? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } } ? September 13, 2025 by Admin A. 7 8 B. 8 7 C. 9 8 D. None ✅ The correct answer is option B.