How Many String Objects Are Created - A Question
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 10531
Total Votes: 139 votes
Category: JAVA/Core JAVA
Submitted on: 2011-03-25 04:16:01
Submitted By: Sandeep Bhandari
Description:The question is how many String objects are created after the last line is compiled by Java.
To solve questions like this one can use Eclipse decompiler (JAD) to see how the Java compiler actually interpreted that third line. More detail...