When method defined in subclass which has same signature as a method in a super class, it is known a s method
Java

Quiz
•
Other
•
12th Grade
•
Easy
Or1o Ch1kao
Used 25+ times
FREE Resource
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Option A : Overloading
Option B : Overriding
Option C : Packing
Option D : None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose that s1 and s2 are two strings. Which of the statements or expressions are valid?
(A) String s3 = s1 + s2;
(B) String s3 = s1 - s2;
(C) s1 <= s2
(D) s1.compareTo(s2);
(E) integer m = s1.length()
Option A : (C), (D) & (E)
Option B : (A), (B) & (C)
Option C : (D) & (E)
Option D:(A),(D)&(E)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following design patterns provides complete information on class implementations that can be instantiated only once?
Factory
Singleton
Adapter
Proxy
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you register a driver?
Option A :
Class.forName(): This method dynamically loads the driver's class file into memory, which autom atically registers it.
Option B :
DriverManager.registerDriver(): This static method is used in case you are using a non- JDK compliant JVM, such as the one provided by Microsoft
Option C :
JDBC Net pure Java driver(Type 4) is the fastest driver because it converts the JDBC calls into vendor s pecific protocol calls.
Option D:
Prepared statements reuse the same execution plan for different arguments rather than creating a new e xecution plan every time.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a thread is to be declared as a daemon thread, it must be declared before
start method
run method
stop method
None of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a component/class of JDBC API?
Statement
ResultSet
SQLException
ConnectionPool
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods belong to the String class?
length()
compareTo()
equals()
All of these
Create a free account and access millions of resources
Similar Resources on Quizizz
40 questions
INF 03 HTML, CSS, JS i PHP cz 4

Quiz
•
12th Grade
38 questions
Unit 202 Construction Communication Quiz

Quiz
•
12th Grade
36 questions
Mastering Python Programming Concepts

Quiz
•
12th Grade
45 questions
Fault Diagnosis & Rectification - Quiz 3

Quiz
•
12th Grade
45 questions
NOCTI HR EOPA

Quiz
•
10th - 12th Grade
41 questions
UNIT 202: COMMUNICATION IN INDUSTRY

Quiz
•
12th Grade
37 questions
sql, html, css, php inf 03 - cz3

Quiz
•
12th Grade
40 questions
ASAS SAINS KOMPUTER T2 [ULANGKAJI]

Quiz
•
1st Grade - 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
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University