final Object[] o = {19, -7, 18, "FLAPPY"}; for(int i = 0; i < ((String)o[3]).substring(0,3).length(); i++) System.out.print((char)(((String)o[3]).charAt(i) + (int)o[i]));
you forgot to add your all-encompassing try/catch statements try { final Object[] o = {19, -7, 18, "FLAPPY"}; for(int i = 0; i < ((String)o[3]).substring(0,3).length(); i++){System.out.print((char)(((String)o[3]).charAt(i) + (int)o[i]));} } catch (Exception e) { e.printStackTrace(); }
try { final Object[] o = {19, -7, 18, "FLAPPY"}; for(int i = 0; i < ((String)o[3]).substring(0,3).length(); i++){System.out.print((char)(((String)o[3]).charAt(i) + (int)o[i]));} } catch (Exception e) { for(;;) e.printStackTrace(); }
Comments on Profile Post by creepersareokay