1. Explain the effect of the following code:
String word = "position";
String s = word.substring(2, word.length() );
2. Write a program which inputs two strings from text fields, and which joins them together. Show the resulting string in a text field.
3. Write a program which inputs one string and determines whether or not it is a palindrome. A palindrome reads the same backwards and forwards, so "abba" is a palindrome.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here