System.out.println("somestring"); It will create any object
or not
Answer Posted / manish pal
yes it create 2 objects
first for string literal
second for print stream
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What are the main features of java?
What is a two-pass assembler?
What is a loop java?
Does constructor return any value?
Can we sort a map in java?
Explain the difference between association, aggregation and inheritance relationships.
What are white spaces in java?
What is the advantage of preparedstatement over statement?
How large is a boolean?
Why you should not use singleton?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
How do you convert bytes to character in java?
Difference between abstract and concrete class ?
Is array size fixed in java?
how to create multithreaded program? : Java thread