Deal of The Day! 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-808 Topic 3 Question 114 Discussion
Oracle Exam 1Z0-808 Topic 3 Question 114 Discussion
Actual exam question for Oracle's 1Z0-808 exam
Question #: 114
Topic #: 3
[All 1Z0-808 Questions]
Which two initialization statements are valid? (Choose two.)
A
Boolean available = ''TRUE'':
B
String tmpAuthor = author, author =''Mc Donald'';
C
Double price = 200D;
D
Integer pages = 20;
Show Suggested Answer
Hide Answer
Suggested Answer:
C, D
by
Junita
at
Mar 21, 2025, 05:41 AM
Limited Time Offer
25%
Off
Get Premium 1Z0-808 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Gracia
12 days ago
Ha! 'Mc Donald' - that's a pretty funny book title. I'd go with A and D as the valid ones.
upvoted
0
times
...
Cherelle
13 days ago
I agree with Evan, option A is incorrect. Option C and D are the valid ones.
upvoted
0
times
...
Evan
14 days ago
But initializing a Boolean with ''TRUE'' is not valid in Java.
upvoted
0
times
...
Desmond
17 days ago
Hmm, I think B is not valid because you can't assign a new value to 'author' in the same statement. And who would name a book 'Mc Donald'?
upvoted
0
times
...
Stephen
19 days ago
I disagree, I believe option A and D are the correct ones.
upvoted
0
times
...
Joseph
24 days ago
D is definitely valid, but I'm not sure about the rest. The syntax for Booleans and Strings looks a bit off to me.
upvoted
0
times
...
Lashandra
26 days ago
I'm pretty sure A and C are valid. The Boolean should be 'true' without quotes, and the Double should have the 'D' suffix.
upvoted
0
times
Whitney
5 days ago
That's correct. The Boolean should not have quotes and the Double needs the 'D' suffix.
upvoted
0
times
...
Teresita
15 days ago
Yes, A should be Boolean available = true and C should be Double price = 200D.
upvoted
0
times
...
Aleisha
20 days ago
I think A and C are valid.
upvoted
0
times
...
...
Evan
1 months ago
I think option C and D are valid.
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
Gracia
12 days agoCherelle
13 days agoEvan
14 days agoDesmond
17 days agoStephen
19 days agoJoseph
24 days agoLashandra
26 days agoWhitney
5 days agoTeresita
15 days agoAleisha
20 days agoEvan
1 months ago