suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?
Answer Posted / ravikiran
two objects will be saved in the heap
Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Define jit compiler?
Can a private method be declared as static?
What is the basic difference between string and stringbuffer object?
Is map ordered in java?
What is assembly used for?
How to make a class or a bean serializable?
What are predefined functions?
Why string is not thread safe?
How to set the permissions to a file in java?
Which is better singleton or static class?
What is a text string?
Differentiate between a constructor and a method? Can we mark constructors final?
What is pre increment and post increment in java?
What is mean by collections in java?
How many techniques can be employed to create a string object?