The code is not being compiled when I'm giving return(....) like we did in Celsius to Farhenheit one ... Why?
Why System.out.print(crcmfrnc) and not return(crcmfrnc)?
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Ryon
28 August 2018, 12:11
The method printCircleCircumference(.. is declared as public static void, a "void" return type means that it will not return any value at all.
0
Roman
28 August 2018, 12:07
Show your code please.
0