Concatenation char and int

Posted by soad el-hayek on Stack Overflow See other posts from Stack Overflow or by soad el-hayek
Published on 2010-05-23T22:56:29Z Indexed on 2010/05/23 23:00 UTC
Read the original article Hit count: 406

Filed under:

i've an error here , and couldn't solve it :

String generate_card (String Fname , String Lname ,int  card_id   ){
    String cardId = null ;
    cardId = Fname.charAt(0) + Fname.charAt(0) + card_id++  ;

return  cardId;

}

© Stack Overflow or respective owner

Related posts about string-concatenation