What exception is thrown if the driver is null?

Advanced Java Programming Quiz

Quiz
•
Computers
•
University
•
Medium
Dr.C.Sharmila Asst.Prof - CSE Dept
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
SQLException
NullPointerException
IOException
ClassNotFoundException
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the executeQuery() method return?
int
boolean
ResultSet
void
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the SQL query to create a table named employee_details?
create table employee_details (empNum number(10), lastName varchar(50), firstName varchar(50), email varchar(255) , deptNum number(10), salary number(10));
create employee_details table (empNum number(10), lastName varchar(50), firstName varchar(50), email varchar(255) , deptNum number(10), salary number(10));
create table employee_details;
insert into employee_details;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the SQL query to insert data into the employee_details table?
insert into employee_details values (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
insert employee_details (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
add employee_details values (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
insert into employee_details (empNum, lastName, firstName, email, deptNum, salary) values (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are Applets in Java?
Programs that run in a web browser
Standalone applications
Server-side programs
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the life cycle of an applet?
init(), start(), paint()
start(), paint(), stop()
init(), stop(), destroy()
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to run an applet?
Through HTML file
Using appletviewer tool
Both A and B
None of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Quiz ABSS Card File

Quiz
•
University
15 questions
DBMS_Quiz_1

Quiz
•
University
15 questions
Quiz PBD 4Nov2022

Quiz
•
University
8 questions
BD. XII RPL SQL

Quiz
•
3rd Grade - University
10 questions
Estructuras Selectivas C++

Quiz
•
7th Grade - Professio...
10 questions
На сколько ты знаешь C#

Quiz
•
University
5 questions
Kuis SQL

Quiz
•
University
11 questions
CH8 of database

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade