what is the difference between the two
String strHello2 = “Hello”;
String strHello2 = new String(“Hello”);
i have learned stings are immutable in java what does it mean?
differnce between instance and class variablea and methods(in clear)
pleae try to answer me.