[GR-Jug] mod of 2 int's

Carlus Henry chenry at gfs.com
Wed Feb 25 09:27:05 EST 2004


int is a primitive and not an Object.  You cannot perform methods on primitives, only Objects.  Change the code to make int a string either by

String s = "" +  int;

Thanks
Carlus

>>> Steve_Grody at accessbusinessgroup.com 02/25/04 09:16AM >>>
You are a member of the Grand Rapids Java Users Group mailing list.  
Please see the bottom of this message for information on unsubscription/customizing your preferences.
------------------------------------------




More information about the Jug mailing list