exam questions

Exam 1z0-808 All Questions

View all questions & answers for the 1z0-808 exam

Exam 1z0-808 topic 1 question 106 discussion

Actual exam question from Oracle's 1z0-808
Question #: 106
Topic #: 1
[All 1z0-808 Questions]

Given:

What is the result?
A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: A

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
duydn
5 months, 1 week ago
The answer is A, but u have to pat attention at class name. "i" is lowercase on class declaration
upvoted 1 times
...
sina_
6 months, 1 week ago
Fieldinit != FieldInit
upvoted 2 times
...
tuyetan
7 months, 3 weeks ago
null false 0.0
upvoted 2 times
...
Vicky_65
10 months ago
A is correct
upvoted 2 times
...
carloswork
1 year, 3 months ago
Answer is A. Source code: public class Test { char c; boolean b; float f; void printAll() { System.out.println("c = "+c); System.out.println("b = "+b); System.out.println("f = "+f); } public static void main(String[] args) { Test t = new Test(); t.printAll(); } }
upvoted 1 times
...
iSnover
1 year, 4 months ago
The right answer is A, the reason is because the default value of a char is an empty one, the default value of a boolean is false and a default value of a float is 0.0
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago