Skip to content
CodeKruPro

A string method whose result is not kept

Predict the outputEasyJava only
Main.java
public class Main {
    public static void main(String[] args) {
        String s = "test";
        s.concat("ing");
        s.toUpperCase();
        System.out.println(s);
    }
}

Graded by exact match. Spaces at the ends of lines and blank lines at the end do not count.

to answer and keep your progress. Reading is free for everyone.