Getting error Out of bound

I am getting error in my code

please share your code by saving it on ide.codingblocks.com

s1 = "hello"; 		s1  =s2; 		s3 = "hello"; 		 		s4 = new String("hello"); 		System.out.println(); 		System.out.println((s1 == s2) + " ,"+ s1.equals(s2)); 		System.out.println((s1 == s3) + " ,"+ s1.equals(s3)); 		System.out.println((s1 == s4) + " ,"+ s1.equals(s4));

this is not legible :neutral_face: please go to ide.codingblocks.com
paste your code there
press ctrl+s and save
share the updated url with me here

It isnt generating any url thats why sending code like this …url box is coming out to be blank

okayy.
see this is the code in the video that you have created your doubt under

and this is your code


i think you are referring to some different code or video? please elaborate . i’d like to help