> >>>
>  String aString = Long.toString(42);
> 
>  That converts the long 42 to a String: same with the Integer class.
> <<<
> 
> Sorry. but do the method above REALLY exists? i've decompiled the 
> java.lang.Long class (using DeCafe) and its listing is bellow:

  the method actually belongs to JDK 1.2 :P

---
% javap java.lang.Long
public final class java.lang.Long extends java.lang.Number 
  implements java.lang.Comparable {

  <snip>
  public static java.lang.String toString(long);
  <snip>
}
---

  was KVM supposed to be JDK 1.2 compliant? i have not played with it
  for a while. :P

  you should really use the tools for "probing" java classes.. announcing
  you use "decompilers" wont look good on a developer list :P *grin*

  cheers.

az.
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 26 10 16 11

Reply via email to