CodeGym /Courses /Java Multithreading /Practice with autoboxing and numbers

Practice with autoboxing and numbers

Java Multithreading
Level 9 , Lesson 5
Available
Practice with autoboxing and numbers - 1

"Hi, Amigo!"

9
Task
Java Multithreading, level 9, lesson 5
Locked
And more refactoring
And more refactoring
9
Task
Java Multithreading, level 9, lesson 5
Locked
Autoboxing features
Autoboxing features
Comments (4)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Evgeniia Shabaeva Level 42, Budapest, Hungary
31 March 2025
It's interesting that the ternary operator implicitly promotes the Integer values to Double. However, it's not clear from the task what is meant by "THE article".
Jaime Padilla Level 41, Chandler, United States Expert
14 November 2023
Where was I supposed to find the supplementary article about the special features of autoboxing where it mentions the ternary operator?
Seb Level 41, Crefeld, Germany
7 February 2020
Oh, oh - "Autoboxing features" was a good one. I wasn't really aware of the shortcomings of the ternary operator beforehand... :-)
Vahan Level 41, Tbilisi, Georgia
20 April 2020
nice hint