public class HelloWorld {
public static void main(final String[] args) {
final String greeting = "Hello";
System.out.println(greeting);
System.out.println(greeting.charAt(2));
System.out.println(greeting.equals("Hello"));
System.out.println(greeting.substring(0, 3) + "p");
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX