To assign a value stored in a double variable to an int variable, use

a) a cast operator
b) promotion
c) a print statement
d) a widening conversion
e) nothing. Java will do this automatically

a) a cast operator

Computer Science & Information Technology

You might also like to view...

Which of these translates printed lettering into pure text that can be searched and manipulated on a computer?

a. Picture archiving and communication system b. Portable document format c. Optical character recognition d. None of the above

Computer Science & Information Technology

?If the slices of a graphic image do not fill the sides with an integer number of tiles, identify the repeat option that can be used with the border-image property to rescale the slices until they do.

A. ?round B. ?space C. ?stretch D. ?repeat

Computer Science & Information Technology