logo

Crowdly

Programare orientata pe obiecte (POB)

Looking for Programare orientata pe obiecte (POB) test answers and solutions? Browse our comprehensive collection of verified answers for Programare orientata pe obiecte (POB) at elearning.unitbv.ro.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().

String data = LocalDate.of(2003, 2, 5).toString();

String regex = data.replaceAll("[13579]","");

View this question

Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().

String regex = LocalDate.of(1999, 9, 19).toString();

View this question

Selectati numarul de string-uri care se potrivesc cu expresia de mai jos folosind functia find().

String regex = "^a?$";

View this question

Folosind functia matches(), sunt echivalente rezultatele urmatoarelor 2 expresii Regex pentru orice sir?

String regex = "a{0,}a";

String regex = "a{1,}";

View this question

Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().

String regex = ".{,3}";

View this question

Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().

String regex = ".*a.*a.?a.*";

0%
0%
0%
0%
0%
0%
0%
View this question

Care este rezultatul urmatoarei secvente de cod?

String sir1 = "000-1111-222-3";

String sir2 = sir1.replaceAll("\\d\\d", "a1");

String sir3 = sir2.replaceAll("\\d\\d", "a2");

System.out.println(sir3);

View this question

Care este rezultatul urmatoarei secvente de cod?

LocalDate data = LocalDate.of(2025, 11, 14);

System.out.println(data.toString().replaceAll("[13579]","2"));

View this question

Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().

String regex = "a+";

0%
0%
0%
0%
View this question

Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().

String regex = ".*a";

0%
0%
0%
0%
0%
0%
0%
View this question

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

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