String adjective = "little"; String lyric = String.format("Mary had a %s lamb", adjective);