Declarations and Access Control Logic
© examsiri.com
Question : 8 of 29
Marks:
+1,
-0
Given:
What is the result?
String[] elements = { "for", "tea", "too" };
String first = (elements.length > 0) ? elements[0] : null;What is the result?
Go to Question: