My Question is what’s the use of creating string object in string pool as well as on Heap when we declare String as String a = new String(“abc”); What is the advantage ? And why not we create string in heap when we create string as String a = “abc”. Answer The java language was designed like that. Anything you