1. package com.udayan.ocp;
2.
3. import java.util.stream.Stream;
4.
5. public class Test {
6. public static void main(String[] args) {
7. Stream
8. stream.sorted().forEach(System.out::println);
9. }
10. }
Which of the following needs to be done, so that output is:
d
cc
bbb
aaaa
© Copyrights DumpsEngine 2025. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsEngine.