logo

Crowdly

Care este rezultatul urmatoarei secvente de cod? String text = "abc...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Care este rezultatul urmatoarei secvente de cod?

String text = "abcde123abcde456";

text = text.replaceAll("\\d{2}", "x");

String[] parts = text.split("\\d+");

System.out.println(text + " " +parts.length);

More questions like this

Want instant access to all verified answers on elearning.unitbv.ro?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!