InterviewSolution
Saved Bookmarks
| 1. |
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;I have been asked this question in an interview for job.My query is from String Class in portion Inbuilt Classes of Object Oriented Programming |
|
Answer» The CORRECT ANSWER is (a) String object_Name = value; |
|