adplus-dvertising
frame-decoration

Question

How to declare an object of class String?

a.

String object_Name = value;

b.

String object_name = new;

c.

String object_name= new value;

d.

String object_name= value new;

Answer: (a).String object_Name = value;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How to declare an object of class String?