A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Nov 04, 2009
Dec 24, 2009 10:45:20
What is the differences between these two statements?
String s = new String("JAVA"); String s = "JAVA";
If both are equal, then what is need for alternate?
Thanks in Advanced!
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Joined: Oct 13, 2005
Dec 24, 2009 11:38:14
Can you work out the difference?
Joined: Apr 12, 2009
Dec 24, 2009 11:40:34
I agree. Here's the link:
subject: New Keyword
why String vlass reference variable holds content ?
How many String are created??
Generic Method - Shouldn't this be correct?
Replace in a string
what should i need to do..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015