Strings

How many bit strings of length 8 begin with three 0s?
How many bit strings of length 8 are there? How many bit strings are there of length 8? There are 28 which is 256. That means there are 256 different ...
How do you compare strings?
What is the best way to compare strings? Examples. The right way of comparing String in Java is to either use equals(), equalsIgnoreCase(), or compare...