Do you know what a string is? Do you think you can pass this string, string buffers, and its functions quiz? If you have an idea of how the string and the string buffer work and their respective functions, then this quiz will be easy for you to crack. So, try this quiz and get to test your knowledge today. See moreWishing you all the best for this test, and enjoy.
=
++
+=
==
Rate this question:
Reverse() is available in String
The content of StringBuffer can be expanded beyond their initial buffer size
The standard java.lang.StringTokenizer class is a special type of Enumeration that represents segments of a string, which may be separated by one or more "delimiters"
StringBuffer is a final class
String objects are immutable
Rate this question:
True
False
Error
None of these
Rate this question:
NullCharacterException
NullParameterException
NullPointerException
NumberFormatException
Rate this question:
Ergic th
Ergic Thu
Ergic Th
ErgicThu
Rate this question:
5
2
3
4
Rate this question:
7,10,7
8,12,8
7,11,7
8,11,8
Rate this question:
11
10
14
12
Rate this question:
Null
Positive
Negative
Zero
Rate this question:
Append,trim,setCharAt,and replace
Append,insert,setCharAt,and reverse
Append,insert,getChars,and replace
Append,trim,getChars,and reverse
Rate this question:
Consistent
Symmetric
Null
Reflexive
Transitive
Rate this question:
[ First Program ]
[First Program]
[FirstProgram]
First Program
Rate this question:
StringBuilder is synchronized, it offers faster performance than StringBuffer
StringBuilder is not synchronized, it offers faster performance than StringBuffer
StringBuilder is not synchronized, it offers slower performance than StringBuffer
StringBuilder is synchronized, it offers slower performance than StringBuffer
Rate this question:
Multitasking
Multithreading
Exception handling
String comparision
Rate this question:
True
False
Rate this question:
Returns current number of capacity
The string buffer is allocated atmost ‘n’ places
The string buffer is allocated atleast ‘n’ places
The string buffer is allocated some ‘n+1’ places
Rate this question:
True true true
True false false
True false true
False true true
Rate this question:
Hi smi
Hi sm
Smi
Ith
Rate this question:
Quiz Review Timeline (Updated): Jul 2, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.