Answer Posted / parameswaran
String is immutable object..we can't modified the value...
but string buffer is mutable object we can change.
>>It can increase or decrease the size dynamically..
>>It contains Max 255 characters..
Warm & Regards
Parames(PRC)
Thanjavur
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Why string is a class?
Why pointers are not used in java?
Explain the scope or life time of class variables or static variables?
Is null a keyword in java?
How will you invoke any external process in java?
What are the 6 boolean operators?
What 5 doubled?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
How do you join strings in java?
Why string is immutable or final in java
Is a char always 1 byte?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
Explain the reason behind ending a program with a system.exit(0)?
What is primitive data type in java?
How do you write a scanner class in java?