Assume that name is a variable of type String that has been assigned a value. Write an expression whose value is a String containing
LANGUAGE: Java
CHALLENGE:
Assume that name is a variable of type String that has been assigned a value.
Write an expression whose value is a String containing
SOLUTION:
name.substring(0,1)