A

Admin • 828.03K Points
Coach

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.
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.