whats string ?

Answer Posted / venkatachalapathy

string is a immutable object i.e once the object is created
it cannot be modified. if we try to modify it creates
another new object

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List primitive java types?

595


Give an example of use of pointers in java class.

563


What is a method vs function?

558


What are advantages and disadvantages of OOPs?

630


What does substring mean?

513






why we use merge option in hybernate pls give a ex snippet

1460


What is a singleton class? Give a practical example of its usage.

591


Can we declare the static variables and methods in an abstract class?

546


Can a constructor call another constructor?

565


What are advantages of exception handling in java?

587


What is sortedmap interface?

556


how to convert Java project into Maven ?

585


Is oracle charging for java?

548


what are synchronized methods and synchronized statements? : Java thread

581


How do you do absolute value in java?

523