Cara Mendapatkan Kata -Kata Individual dari String di Java

{
public static void main(String args[])
{
String str = "Hey this is Ram";
String [] words = str. split(" ", 3);
for (String word : words)
System. out. println(word);
Spotless Squirrel