"I almost forgot. Here are some potential interview questions that we covered in this level:"
Interview questions | |
---|---|
1 | What's the right way to compare two strings in Java? |
2 | What's the right way to perform a case-insensitive comparison of two strings in Java? |
3 | How do you sort a list of strings alphabetically? |
4 | What encoding is used to store strings in Java? |
5 | How do you convert a string to the Windows-1251 encoding? |
6 | How do you split a string into individual words? |
7 | How do you reverse the order of a string? |
8 | What happens when we write "A"+"b"+"C"? |
9 | What are mutable and immutable types? |
10 | What advantages does String have because it is immutable? |
GO TO FULL VERSION