Core Java Interview questions

Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

Can we change the value of String object once assigned in java?

No,String objects are immutable so the Value of the string object can not be changed once assigned.


Next 5 interview question(s)


String Object belongs to which package in java?


Which can be used to overcome the immutable property of String in java?


Why String is immutable in java?


What is the difference between creating string object using string literal and using new keyword in java?


How can you create String object using new keyword with example?