cara menginisialisasi string di java

Scanner sc = new Scanner(System.in);
String str = sc.next();
Fierce Finch