1. String s1 =
new String("MyString");
String s2 = new String("MyString");
s1 == s2;
Answer: false.
2. A abstract class provides a way to defer implementation to subclass.
3. A class lock is obtained on synchronizing the static methods of a class.
4. The Dictionary class is a abstract class that behaves similar to the interface Map.
String s2 = new String("MyString");
s1 == s2;
Answer: false.
2. A abstract class provides a way to defer implementation to subclass.
3. A class lock is obtained on synchronizing the static methods of a class.
4. The Dictionary class is a abstract class that behaves similar to the interface Map.