Question
Consider the following Java code: import
java.util.Arrays; public class Splitter { Â Â public static void main(String[] args) { Â Â Â Â String data = "item1::value1::item2::value2"; Â Â Â Â String[] parts = data.split("::"); Â Â Â Â System.out.println(parts.length + " " + parts[1]); Â Â } } What will be the output of this program?Solution
Correct Answer: A (The string is split by "::". The parts are "item1", "value1", "item2", "value2". So parts.length is 4. parts[1] is "value1".)
32% of 4080 + 24% of 540 = ? % of 3200
350% of (450 / 1.5) = ?% of 4200Â Â
Simplify the following expressionÂ
Â
25% of 60 × 15% of 120 = 30% of (?)
?/4 ÷ 9/? = 15% of 800 + `1(2/3)` × `1(1/5)` × 1/2
522 + 160% of 80 - 130 = ? X 13Â
√196 + (0.25 × 144) + 19 = ? + 72
192.251 + 326.233 + 125.021 + 19.273 = ?
?% of 18% of 2600 = 234
535 + ? × 27 - 22 × 20 = 230Â