Friday, 7 September 2012

How many String objects are created by the following statements ? | JDBC

String str = " a+b=10 ";
trim(str)
str.replace(+,-);
A. 1
B. 2
C. 3
D. 4

Ans:   C

No comments: