Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : java - JAVA CONDITIONAL STATEMENTS
JAVA CONDITIONAL STATEMENTS
00:00:00
English
Hindi
Question No# :
01
out of 6
. Which among the following constants are used in switch-case statements?
. Which among the following constants are used in switch-case statements?
A.
char
char
B.
int
int
C.
float
float
D.
Both a and b
Both a and b
Question No# :
02
out of 6
Which of these selection statements test only for equality?
Which of these selection statements test only for equality?
A.
if
if
B.
switch
switch
C.
if and switch
if and switch
D.
none of the mentioned
none of the mentioned
Question No# :
03
out of 6
If a relational expression is satisfied it results in
If a relational expression is satisfied it results in
A.
true
true
B.
false
false
C.
Both a nd b
Both a nd b
D.
None of these
None of these
Question No# :
04
out of 6
An if statement inside another if statement is called
An if statement inside another if statement is called
A.
Nested if
Nested if
B.
Internal if
Internal if
C.
Concentric if
Concentric if
D.
None of these
None of these
Question No# :
05
out of 6
What is the problem called in which an optional else clause in an if–then(–else) statement results in nested conditionals being ambiguous?
What is the problem called in which an optional else clause in an if–then(–else) statement results in nested conditionals being ambiguous?
A.
Dangling if
Dangling if
B.
Dangling else
Dangling else
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
06
out of 6
Which among the following relational operator is used to check for the equality between two quantities ?
Which among the following relational operator is used to check for the equality between two quantities ?
A.
=
=
B.
==
==
C.
equals
equals
D.
None of these
None of these
Latest Current Affairs 2024
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2024
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz