can you help to suggest change to this code?

public class Sample1 {
public static void main(String[] args) {
String str1 = "apple";
String str2 = "apple";
if (str1 == str2) {
System.out.println("Strings are equal using '=='.");
}
}
}