when i write
string s1="java";
in one program(application) and
string s2="java";
in another application
on the same jvm will both objects s2,s2 will refer to same
memory location where "java" is stored
in string pool.
Answer Posted / tj
Yes,They will refer to same memory location..
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What do heavy weight components mean in java programming?
What is array sorting in java?
What is primitive array?
What all access modifiers are allowed for top class ?
What is the difference between the file and randomaccessfile classes?
What types of index data structures can you have in java?
Is integer a class?
What is abstraction in java?
Why java is considered as platform independent?
What do you mean by mnemonics?
What is difference between path and classpath?
Why collection is called framework in java?
How many bits is a float?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is the difference between path and classpath variables?