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