Ad
  • Custom User Avatar

    you're trying to use "toUpperCase()" on a char instead of a String. Try String s1 = ("" + name.charAt(0)).toUpperCase();
    It changes the char to a String.

  • Custom User Avatar

    Hi,

    Depends on what you call "searching solutions on the web".

    • Searching/reading about algorithm, api, documentation of anykind? Yeah, totally allowed. You'll need that, acctually.
    • stalking github or any other place for solutions and just copy/paste them: no definitely not. That's called plagiarism. We have speicalists at that game. They generally get kicked out sooner or later.

    Enjoy your time coding!
    Cheers