Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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.)

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

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
...

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  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77