Question: Predict the output for the below code snippet? dnya bira public class TestDemo ( public static void main(String[] args) { ArrayList strings.add 85. strings.add(AaA); JUL
Predict the output for the below code snippet? dnya bira public class TestDemo ( public static void main(String[] args) { ArrayList strings.add 85. strings.add("AaA"); JUL strings.add("aAa"); Collections.sort(strings); = new ArrayList(): for (String Systemvang: strings) { }}} .out.print(string+" ")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
