Ad
  • Custom User Avatar

    I initially tried

    String s1 = name.charAt(0).toUppercase());

    But it gave me a char cannot be defererenced error. I don't really understand the error unfortunately.

  • Default User Avatar

    This one confused me a little because I associated args with the Java main method so didn't know how to reference the array.

  • Default User Avatar

    Hi,

    Thanks for the response. I definitely meant the former so I'll give it a go. I've been learning so far through code gym so it'll be exciting to try something new as well.

  • Default User Avatar

    I've just joined the site today. Can I ask is it acceptable to try and Google solutions in order to learn this way or are the katas designed to be answered from scratch with no online help?