In Lesson 6-12, the teacher said that int can be directly converted to float. I didn't quite understand it.
ws
ws 2022-07-14 19:02:29
0
1
761

System.out.println(sum(10.5f,20)); I forgot that knowledge point, why can int go directly to float

ws
ws

reply all (1)
autoload

Small numbers can be directly converted into large ones, implicit conversion, such as 1 on a three-digit display, can be replaced by 001

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!