Why is a string immutable?


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

Post New Answer

More Core Java Interview Questions

What is an abstract class?

7 Answers   DBS, Wipro,


where exactly collections are usefull in realtime

2 Answers  


class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?

9 Answers   Infosys, Wipro,


Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?

3 Answers   Aricent,


What is the purpose of checked and unchecked exceptions in JAVA?

0 Answers   Amdocs,






Can a static class have a constructor?

0 Answers  


How do you clear a method in java?

0 Answers  


What are the data types supported by java? What is autoboxing and unboxing?

0 Answers  


What is a marker interface?

0 Answers  


what is synchronization? : Java thread

0 Answers  


What is floor in java?

0 Answers  


A class can be a subclass of itself?

2 Answers   Genesis,


Categories