Question 1
substring()
Substring()
SubString()
None of the mentioned
Good Job!
Oops!
Currently there is no PrepInsta Explanation. Did you know?
You can also submit your own version of explanations under user explanation section and also view other submitted explanations by other users.
Please login to submit your explanation
You can check your performance of this question after Login/Signup
Start
Question 2
prep
insta
prepinsta
instaprep
Question 3
length()
capacity()
Length()
Capacity()
Question 4
1
5
1 2 3 4 5
8
Question 5
1 4 3 6 8 2 5
Question 6
StringBuffer()
StringBuffer(int size)
StringBuffer(String str)
StringBuffer(int size , String str)
Question 7
Convert “Z” to int 90 and prints “90
Runtime Exception
Prints “z”
Prints “Z”
Question 8
. truefalse
truetrue
falsefalse
falsetrue
Question 9
StringBuilder is not thread-safe.
StringBuffer is thread safe because its methods are synchronized.
StringBuilder was introduced in Java 1.4
StringBuffer and StringBuilder are immutable.
Question 10
zero
true
-3
false
Please login to report
Login/Signup
Personalized Analytics only Availble for Logged in users
Analytics below shows your performance in various Mocks on PrepInsta
Your average Analytics for this Quiz
Rank
-
Percentile
0%
Completed
0/0
Accuracy
April 2, 2021
Login/Signup to comment
Login/Signup to comment