All pastes #386540 Raw Edit

pani_alex

public java v1 · immutable
·published 2007-03-08 18:39 UTC
rendered paste body
;    Syste.out.println("i: " + i + " j: " +j);    k = (int)j; //empleo de un cast    System.out.println("j: " + j + " : " +k);    j = k; //no necesita cast    System.out.println("j: " + j + " : " +k);    float m = 2.3F;    //float m = 2.3; daría error al compilar.    system.out.println("m: "+m);  }}///:~