void (List<String> data) { int sum = 0; if(Math.random() > 0.5) { System.out.println("oops"); } else { for (String str : dat<caret>a) { if (str.startsWith("xyz")) { int len = str.length(); if (len > 10) { sum += len * 2; } } } } System.out.println(sum); }