Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Oracle Discussions
Exam 1Z0-149 Topic 12 Question 24 Discussion
Oracle Exam 1Z0-149 Topic 12 Question 24 Discussion
Actual exam question for Oracle's 1Z0-149 exam
Question #: 24
Topic #: 12
[All 1Z0-149 Questions]
Which is true about counter variables in a FOR loop?
A
It must explicitly be declared.
B
It can be modified in the body of the loop.
C
It cannot be NULL.
D
It is accessible outside the body of the loop.
Show Suggested Answer
Hide Answer
Suggested Answer:
C
by
Carin
at
Apr 21, 2024, 05:14 PM
Limited Time Offer
25%
Off
Get Premium 1Z0-149 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Jenifer
6 months ago
It's confusing. I think I'll go with B. It sounds logical.
upvoted
0
times
...
Leota
7 months ago
Isn't it obvious that D is wrong? Usually, counter variables are not accessible outside the loop.
upvoted
0
times
...
Mozell
7 months ago
I read somewhere that they aren't usually NULL, so maybe C is correct.
upvoted
0
times
...
Romana
7 months ago
I feel uneasy about this one. Don't counter variables need to be declared like A suggests?
upvoted
0
times
...
Chantell
7 months ago
Not sure. I think it must be B, as counter variables can be updated inside the loop.
upvoted
0
times
...
Jenifer
7 months ago
What do you think about the question on counter variables in a FOR loop?
upvoted
0
times
...
Essie
8 months ago
That's correct. It must hold a valid value.
upvoted
0
times
...
Phung
8 months ago
But it can't be NULL, right?
upvoted
0
times
...
Rolland
8 months ago
And you can definitely modify it within the loop.
upvoted
0
times
...
Broderick
8 months ago
Yes, that's correct. It's usually initialized before the loop.
upvoted
0
times
...
Essie
8 months ago
I think the counter variable must be explicitly declared.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
az-700
pass4success
az-104
200-301
200-201
cissp
350-401
350-201
350-501
350-601
350-801
350-901
az-720
az-305
pl-300
Jenifer
6 months agoLeota
7 months agoMozell
7 months agoRomana
7 months agoChantell
7 months agoJenifer
7 months agoEssie
8 months agoPhung
8 months agoRolland
8 months agoBroderick
8 months agoEssie
8 months ago