How many objects will be created in the following?


String a = new String("Interviewbit");
String b = new String("Interviewbit");
Strinc c = "Interviewbit";
String d = "Interviewbit";

Posted on by