Java Interview Questions
How many objects will be created in the following code?
                        String s = new String("Welcome");
Two objects, one in string constant pool and other in non-pool(heap).