
Core Java and JDBC - QUIZ 1
Quiz
•
others
•
•
Medium
shilpa.hiremath shilpa.hiremath
Used 4+ times
FREE Resource
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the below statements?
public class Test {
public static void main(String[] args)
{
String s1 = null;
System.out.println(s1); //line 2
System.out.println(s1.toString()); //line 3
}
}
a) null null
b) null NullPointerException
c) NullPointerException NullPointerException
d) None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to perform DML statements in JDBC?
executeResult()
executeQuery()
executeUpdate()
execute()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package contains the JDBC API?
java.jdbc
java.db
java.sql
java.oracle
java.mysql
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
35 questions
Long Test in Computer Programming
Quiz
•
University
36 questions
2018 A&H District
Quiz
•
5th Grade
37 questions
MIDTERM READING & WRITING TEST MOVERS 3
Quiz
•
KG - University
42 questions
2.1.4 - 2.2.3 Review Open book
Quiz
•
KG - University
33 questions
Pre assessment frontend
Quiz
•
Professional Development
33 questions
FrontEnd Bihongal
Quiz
•
Professional Development
36 questions
Soal Ujian Semester Ganjil TP.2023
Quiz
•
KG - University
39 questions
Edexcel AS Maths: Mechanics
Quiz
•
KG - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for others
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade