+ 2

Can i design a fuction for sqauring a number using value type in java....like we could do in c language?? Plz help...

28th Jan 2018, 2:50 PM
Satyam Rai
Satyam Rai - avatar
2 Antworten
+ 13
static int retSquare(int k){ return k*k;}
28th Jan 2018, 3:11 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
Which language?
28th Jan 2018, 2:52 PM
1of3
1of3 - avatar