class Teste30 {
public static void main
(String[] args
) { String teste
= "Isso funciona mesmo, ok?"; String [] vetor
= teste.
split(" "); }
}
}
Y2xhc3MgVGVzdGUzMCB7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3RyaW5nIHRlc3RlID0gIklzc28gZnVuY2lvbmEgbWVzbW8sIG9rPyI7CiAgICAgICAgU3RyaW5nIFtdIHZldG9yID0gdGVzdGUuc3BsaXQoIiAiKTsKICAgICAgICBTdHJpbmcgYXF1aSA9IHZldG9yWzBdOwogICAgICAgIFN0cmluZyBhbGkgPSB2ZXRvclsxXTsKICAgICAgICBTdHJpbmcgYWNvbGEgPSB2ZXRvclszXTsKICAgICAgICBTdHJpbmcgdGhlcmUgPSB2ZXRvcls0XTsKICAgICAgICBmb3IgKFN0cmluZyBub21lIDogdmV0b3IpIHsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKG5vbWUpOwogICAgICAgIH0KICAgIH0KfQ==