CS 1713 Introduction to Computer Science, Spring 2008 String Problems
Write a method that takes a String as a parameter and returns
true if and only if:
- the string has a equal number of upper and lower case letters.
- the string contains at least two copies of "abc".
- the string contains exactly two copies of "abc".
- the string contains two consecuive upper case letters in a row.
- the string is a valid integer (contains only digits with a possible leading
plus or minus sign).