printf can not print an integer

Remi Forax forax at univ-mlv.fr
Thu Apr 23 14:11:44 UTC 2015


'printf' should be a method that takes an Object as parameter and not a 
String.

-> printf(2)
|  Error:
|  incompatible types: int cannot be converted to java.lang.String
|  printf(2)
|         ^

cheers,
Rémi




More information about the kulla-dev mailing list