Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 56 discussion

Actual exam question from Salesforce's CRT-450
Question #: 56
Topic #: 1
[All CRT-450 Questions]

Which two number expressions evaluate correctly? (Choose two.)

  • A. Double d = 3.14159;
  • B. Integer I = 3.14159;
  • C. Decimal d = 3.14159;
  • D. Long l = 3.14159;
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
9868452
1 month, 1 week ago
Selected Answer: AC
A&C are correct - all are primitive data types, but only double and decimal can hold values with a decimal point in them. Integer and long can only hold whole number values.
upvoted 1 times
...
SS1121
4 months, 3 weeks ago
A, C , since Long and Double can hold only whole numbers
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 ...