args is an array. if you want to access the first element, i.e. your sentence the syntax is
String str = args[0];