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
java program with complete 4 oops concepts implemented example
What is the range of the short type?
What is tochararray in java?
What are desktop procedures?
What is the numeric promotion?
What is nested interface?
What is JVM and is it platform independent?
What is integer size in java?
What is the size of arraylist in java?
Can we call a non-static method from inside a static method?
What is n in java?
Difference between method overloading and method overriding in java ?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
Differences between traditional programming language and object oriented programming language?
What is the latest version of java?