Which is a valid declarations of a String? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
16 Feb 2023 03:23 PM study24x7 study24x7

Which is a valid declarations of a String?

A

String s1 = null;

B

String s2 = 'null';

C

String s3 = (String) 'abc';

D

String s4 = (String) '\ufeed';

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles