exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 198 discussion

Actual exam question from Oracle's 1z0-808
Question #: 198
Topic #: 1
[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: CD 🗳️
Reference:
http://www.functionx.com/java/Lesson06.htm

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
iSnover
3 months, 1 week ago
Selected Answer: CD
The answer is CD, and there's nothing to say, boolean only accepts TRUE, true, FALSE, false and String does not accept these special characters. NOTE: I've noticed that some simple questions the answer is clearly the most obvious, so if you've analyzed everything correctly you can follow your intuition.
upvoted 1 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