public class StringBasics { public static int main() { System.out.println("Hello, World!"); System.out.println("String support in Rava!"); String greeting = "Hello"; String name = "Rava"; String message = greeting + ", " + name + "!"; System.out.println(message); int x = 42; System.out.println("The answer is: " + x); String result = "Sum: " + 10 + 20; System.out.println(result); String test = "Hello"; int len = test.length(); System.out.println(len); String longer = "Hello World"; System.out.println(longer.length()); String s1 = "test"; String s2 = "test"; String s3 = "other"; if (s1.equals(s2)) { System.out.println(1); } else { System.out.println(0); } if (s1.equals(s3)) { System.out.println(1); } else { System.out.println(0); } System.out.println("String tests completed!"); return 0; } }