OneTrust Interview Question

1. Project Specific Questions. 2. Java 8 Streams Questions. 3. i/p : String str= aaabbcccdeff and o/p : 3a2b3c1d1e2f - Count the number of characters in string.