Why is String immutable?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Which collection allows duplicate values in java?

0 Answers  


Write a method that will remove given character from the string?

0 Answers  


Write a program to show whether a graph is a tree or not using adjacency matrix.

0 Answers   Amazon,


Can we override compareto method?

0 Answers  


How do you define a variable?

0 Answers  


What is flush buffer?

0 Answers  


java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?

1 Answers   Naaptol,


What is the difference between a checked and an unchecked exception?

0 Answers   Cyient,


Differentiate between overriding and overloading cases?

0 Answers   Amdocs,


What is the default size of load factor in hashing based collection?

0 Answers  


Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types

4 Answers   TCS,


What are passing parameters?

0 Answers  


Categories