strings in java are objects.why?

Answer Posted / shankar

Strings in java are immutable i.e, not changable.It is
constant.
By,
Shanku

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can keyword be used as identifier?

549


What are the different ways to handle exceptions?

542


What is appletviewer?

574


What is java regex?

535


What is the difference between serializable and externalizable interfaces?

570






What is java util collection?

561


What is classes in java?

519


How do you break a loop?

567


What are the concepts of 'OOPS'?

605


What are java packages? What is the significance of packages?

574


what is an objects lock and which objects have locks? : Java thread

539


How do you replace a string in java?

548


what do you mean by classloader?

555


Can a hashset contain duplicates java?

497


When should we create our own custom exception classes?

588