Which of the following promotions of primitive types is not allowed to occur?
A) char to int.
B) int to double.
C) short to long.
D) double to float.
Correct Answer:
Verified
Q2: Consider the following Java statements:
int x
Q4: A well-designed method _.
A)performs multiple unrelated tasks
B)repeats
Q5: The parameter list in the method header
Q8: Any field declared with keyword _ is
Q8: Which operator can be used in string
Q9: A static method can _.
A)call only other
Q11: Variables should be declared as fields only
Q12: Method log takes the logarithm of its
Q13: When an object is concatenated with a
Q17: If more method calls occur than can
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents