Шукаєте відповіді та рішення тестів для Programare orientata pe obiecte (POB)? Перегляньте нашу велику колекцію перевірених відповідей для Programare orientata pe obiecte (POB) в elearning.unitbv.ro.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
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]","");
Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().
String regex = LocalDate.of(1999, 9, 19).toString();
Selectati numarul de string-uri care se potrivesc cu expresia de mai jos folosind functia find().
String regex = "^a?$";
Folosind functia matches(), sunt echivalente rezultatele urmatoarelor 2 expresii Regex pentru orice sir?
String regex = "a{0,}a";
String regex = "a{1,}";
Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().
String regex = ".{,3}";
Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().
String regex = ".*a.*a.?a.*";
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);
Care este rezultatul urmatoarei secvente de cod?
LocalDate data = LocalDate.of(2025, 11, 14);
System.out.println(data.toString().replaceAll("[13579]","2"));
Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().
String regex = "a+";
Selectati ce string-uri se potrivesc cu expresia de mai jos folosind functia matches().
String regex = ".*a";
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!