Java tutorial
//package com.java2s; //License from project: Apache License public class Main { public static String setMethodName(String name) { char[] ch = name.toCharArray(); ch[0] = Character.toUpperCase(ch[0]); return "set" + String.valueOf(ch); } }