JavaRush /Java Course /New Java Syntax /Practice with integer type conversions Practice with integer type conversions New Java Syntax Level 12 , Lesson 4 Available "Hi, Amigo. Here are some tasks involving integer type conversion. Add cast operators where necessary:" Comments (2) TO VIEW ALL COMMENTS OR TO MAKE A COMMENT, GO TO FULL VERSION Anonymous #3382341 Level 15 23 March 2024 didnt get "Task No. 3, "Task No. 1 in Task No. 3 the output will be 256 according to chatGPT Anonymous #3072527 Level 25 3 June 2022 Why in the task "Task No. 3 about integer type conversions" float f = 128.50 become -128 in (byte)f. I would expect (byte)f give us 127.
GO TO FULL VERSION