Mga pre! Naa na man jud SQL ug C/C++ nga question question nga thread.. Himo sad ta ug Java.. Sa intresado lang gud..Â*

Sige ako una..
What will be the output of the following code?
public class CompareStrings {
Â* Â* public static void main(String [] args) {
Â* Â* Â* Â* Â* Â*String str1 = "string";
Â* Â* Â* Â* Â* Â*String str2 = "string";
Â* Â* Â* Â* Â* Â*if (str1 == str2) {
Â* Â* Â* Â* Â* Â* Â* Â*System.out.println("equal");
Â* Â* Â* Â* Â* Â*} else {
Â* Â* Â* Â* Â* Â* Â* Â*System.out.println("not equal");
Â* Â* Â* Â* Â* Â*}
Â* Â* }
}