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-819 Topic 5 Question 39 Discussion
Oracle Exam 1Z0-819 Topic 5 Question 39 Discussion
Actual exam question for Oracle's 1Z0-819 exam
Question #: 39
Topic #: 5
[All 1Z0-819 Questions]
Which two var declarations are correct? (Choose two.)
A
var names = new ArrayList<>();
B
var _ = 100;
C
var var = ''hello'';
D
var y = null;
E
var a;
Show Suggested Answer
Hide Answer
Suggested Answer:
C
by
Geoffrey
at
May 28, 2022, 08:08 PM
Limited Time Offer
25%
Off
Get Premium 1Z0-819 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Blondell
13 days ago
I'm going with B and E. Using 'var' to declare a variable without an initial value is also valid.
upvoted
0
times
...
Queenie
14 days ago
I think B and D are the correct options here. Declaring a variable with 'var' and initializing it with a value or null is valid in JavaScript.
upvoted
0
times
...
Lynelle
21 days ago
Yeah, those two options seem to be the only correct ones based on the rules for declaring variables in JavaScript.
upvoted
0
times
...
Laurel
24 days ago
I agree with you, Lynelle. I also think D) var y = null; is correct because it's declaring a variable with a null value.
upvoted
0
times
...
Lynelle
26 days ago
I think B) var _ = 100; is correct because it's assigning a value to a variable.
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
Blondell
13 days agoQueenie
14 days agoLynelle
21 days agoLaurel
24 days agoLynelle
26 days ago