what is mean by String and StringBuffer?
What is mean by Methooverriding and Overloading?

Answer Posted / ravi

String is a final class which represents a character
string,string are constant they value cannot be changed
after they r created
its is final class Stringbuffer,Stringbuffer implemets
muttable String character,its is like a string but can be
modified, the length and content can be changed during
method call

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you add null to a list java?

583


How transient variable is different from volatile variable?

558


What is a double vs float?

536


How do you define a parameter?

580


How do I compare two strings in word in java?

538






Explain runtime exceptions?

742


What is the purpose of a parameter?

527


What is a native method in java programming?

524


Explain java thread life cycle.

580


when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

1671


Can you make a constructor final in Java?

626


What is += mean in java?

542


What is a default constraint?

612


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

574


What restrictions are placed on method overriding in java programming?

539