This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
How many string objects are created in the following code:-
1)2 2)4 3)8 4)9 im confuse that in System.out.println statement 2 objects r created or 1. one more doubt.. if we put the code in the main method of a class will the object created be increase by 1 as the main method takes array of string as parameter.so the empty string.