What will be the output if all necessary code is included (Header files and main function)?
void test (Object &y) { y = "It is a string"; } void main() { Object x = null; test (x); System.out.println (x); }
(d).It is a string
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(d).It is a string
need an explanation for this answer? contact us directly to get an explanation for this answer