1).what is the difference between below examples
String s="vijay";
String s=new String("vijay");
Answer Posted / ramya
as kiran said in the first answer that the string created
in the heap memory can be changed,is it that the memory in
the heap can be changed.I read it as heap provides a stable
storage.Please clarify.Thanks in advance.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is hashmap and map?
Why is string buffer better than string ?
What is the similarity between dynamic binding and linking?
What are the advantages of functions?
What is a dynamic array in java?
What is the mapping mechanism used by java to identify IDL language?
a thread is runnable, how does that work? : Java thread
What is integer valueof?
Mention the default values of all the elements of an array defined as an instance variable.
Explain the difference between serializable and externalizable in java?
how to deploy apache tomcat server to weblogic server in java
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
What is number data type in java?
Why destructor is not used in java?
What is the association?