Can't we say: system.out.printIn(sum(5,2)); instead of assigning sum(5,2) to x? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can't we say: system.out.printIn(sum(5,2)); instead of assigning sum(5,2) to x?

13th Jan 2017, 11:48 AM
Jawad Rahwanji
Jawad Rahwanji - avatar
3 Answers
+ 6
yes
13th Jan 2017, 12:30 PM
Caffeinated Gamer YT
Caffeinated Gamer YT - avatar
+ 6
Sure, you can... But keep in mind that you quickly lost much readability in your source code, without real improvments ^^ ( this kind of are only necessary on low memory system, or low speed if speed is a necessity )
13th Jan 2017, 1:40 PM
visph
visph - avatar
+ 2
yes, it's possible
13th Jan 2017, 11:50 AM
FreakManMega