McqMate
| Q. |
Given the following declarations String s1=new String("Hello") ; String s2=new String("there"); String s3=new String(); Which of the following are legal operations? |
| A. | s3=s1 + s2;. |
| B. | s3=s1 - s2;. |
| C. | s3=s1 & s2. |
| D. | s3=s1 && s2. |
| Answer» A. s3=s1 + s2;. | |
View all MCQs in
Java ProgrammingNo comments yet