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 1Z0-819 Exam - 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:

0/2000 characters
Sherron
5 months ago
Surprised that you can use _ as a variable name!
upvoted 0 times
...
Delmy
5 months ago
B is also valid, right?
upvoted 0 times
...
Ettie
5 months ago
Wait, C is wrong because 'var' is a reserved keyword!
upvoted 0 times
...
Lawana
5 months ago
Totally agree, A and D!
upvoted 0 times
...
Dahlia
5 months ago
A and D are correct.
upvoted 0 times
...
Kattie
6 months ago
I have a feeling that C is wrong because `var` is a reserved keyword, so it can't be used as a variable name.
upvoted 0 times
...
Graham
6 months ago
I'm not entirely sure, but I feel like B is okay since variable names can start with an underscore.
upvoted 0 times
...
Precious
6 months ago
I remember that using `var` for arrays is valid, so I think A might be correct.
upvoted 0 times
...
Wynell
6 months ago
I practiced a similar question, and I think D is definitely correct because you can assign null to a variable.
upvoted 0 times
...
Renato
6 months ago
Option C looks promising - creating log exports in the production projects and setting the log sinks to a Cloud Storage bucket in an operations project. That way, we can ensure all the production logs are captured without any other project logs getting mixed in.
upvoted 0 times
...
Luz
6 months ago
I'm confident the answer is Residual. The Control Failure Factor is about the impact of control failures, which would affect the remaining risk after controls are in place.
upvoted 0 times
...
Crista
11 months ago
I heard the person who wrote this question was a 'var'y bad programmer. Get it? 'Var'y bad? Okay, I'll see myself out.
upvoted 0 times
Penney
9 months ago
I guess the correct answers are A) and D).
upvoted 0 times
...
Honey
9 months ago
Haha, good one! That joke was 'var'y clever.
upvoted 0 times
...
Rebbeca
9 months ago
D) var y = null;
upvoted 0 times
...
Stephen
10 months ago
A) var names = new ArrayList();
upvoted 0 times
...
...
Maryann
11 months ago
Hmm, this is a tricky one. I'm going to go with B and D, but I'm also tempted to choose E just to see what happens. Yolo, am I right?
upvoted 0 times
...
Berry
11 months ago
C is clearly wrong. You can't use 'var' as a variable name, that's just silly. I'd say B and D are the right choices.
upvoted 0 times
Stefan
9 months ago
Yeah, B and D seem to be the right var declarations.
upvoted 0 times
...
Iola
10 months ago
I think B and D are the correct choices as well.
upvoted 0 times
...
Stephanie
10 months ago
Yes, I also believe B and D are the correct options. 'var _ = 100;' and 'var y = null;' make sense.
upvoted 0 times
...
Dominque
10 months ago
I agree, C is definitely wrong. 'var' can't be used as a variable name.
upvoted 0 times
...
Ivan
11 months ago
I think B and D are the correct choices. They seem to be valid var declarations.
upvoted 0 times
...
Goldie
11 months ago
I agree, C is definitely wrong. Using 'var' as a variable name is not allowed.
upvoted 0 times
...
...
Blondell
11 months ago
I'm going with B and E. Using 'var' to declare a variable without an initial value is also valid.
upvoted 0 times
Fletcher
9 months ago
Yes, B and E are the correct var declarations.
upvoted 0 times
...
Goldie
9 months ago
I would go with B and E as well.
upvoted 0 times
...
Tu
9 months ago
I agree, using 'var' without an initial value is valid.
upvoted 0 times
...
Bettyann
9 months ago
I think B and E are correct.
upvoted 0 times
...
Laurena
10 months ago
Actually, D is incorrect because 'null' is not a valid initial value for a variable declaration.
upvoted 0 times
...
Gilma
10 months ago
I would choose B and D.
upvoted 0 times
...
Amie
10 months ago
I agree, using 'var' without an initial value is valid.
upvoted 0 times
...
Adell
10 months ago
I agree, B and E are the correct var declarations. It's valid to declare a variable without an initial value.
upvoted 0 times
...
Lorita
11 months ago
I think B and E are correct.
upvoted 0 times
...
Ezekiel
11 months ago
I think B and E are correct too. 'var' can be used without an initial value.
upvoted 0 times
...
...
Queenie
11 months 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
12 months 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
12 months 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
12 months ago
I think B) var _ = 100; is correct because it's assigning a value to a variable.
upvoted 0 times
...

Save Cancel