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 97 discussion

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

Which is a valid Apex assignment?

  • A. Integer x=5*1.0;
  • B. Integer x =5.0;
  • C. Double x =5;
  • D. Float x =5.0;
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Therrudy1994
Highly Voted 2 years, 7 months ago
Integer-> Long -> Double -> Decimal. Integer can be defined as Double but Double can't be defined as Integer. C is correct
upvoted 5 times
...
ABHI0O07
Most Recent 8 months ago
Selected Answer: C
c is correct
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 ...