Write an expression that whose value is the fifth character of the String name.
LANGUAGE: JAVA
CHALLENGE:
Write an expression that whose value is the fifth character of the String name.
SOLUTION:
name.charAt(4)
Posted in Java, Learn To Code
Write an expression that whose value is the fifth character of the String name.
name.charAt(4)