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 difference between string, string builder, and string buffer in java?
List some important features of java 10 release?
Which is fastest collection in java?
How do you declare a destructor in java?
What is == mean?
What is Hierarchy of exception?
Why do we need array in java?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
Can we initialize the final blank variable?
What is nan inf?
How to create a custom exception?
What is the difference between serial and throughput garbage collector?
What is difference between length and length() method in java ?
Explain java coding standards for constants?
What is nullpointerexception in java?