1).what is the difference between below examples
String s="vijay";
String s=new String("vijay");
Answer Posted / p.sreekiran
in first string class it create in heep memory and second
is created object in constant memeory we cannot change the
second one
| Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
How do I get 64 bit java?
What is * argv?
Write code to implement bubble sort in java?
Explain the overview of UDP messaging.
What do you mean by ternary operator in java?
What are the supported platforms by java programming language?
Why set is used in java?
What is the advantage of functional interface in java 8?
What is the use of singleton?
What is the list interface in java programming?
Can we pass null as argument in java?
Can a static method be final?
What's a method in programming?
What is the size of integer?
What is the reflection?