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...


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.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here