What lines will not cause a compilation error?
Explanation
There will be a compilation error in the line
 float f = 1.01; 
since the constant 1.01 is of type double by default, and does not lead to float type automatically

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты