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

What are the different approaches to implement a function to generate a random number?

573


What are 3 boolean operators?

539


What is widening and narrowing in java? Discuss with an example.

563


What is not object oriented programming?

510


Differece between class and generic class?

568






What is linkedlist in java?

512


What is an inner class in java?

527


What is an error in java?

641


What is the exception hierarchy in java?

490


How list contains works in java?

558


Can we use a switch statement with strings?

552


Can list contain null in java?

629


What is a line break example?

580


What is a variable in java?

537


What is the synonym of framework?

562