A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
How many String are created??
Generic Method - Shouldn't this be correct?
Replace in a string
what should i need to do..
why String vlass reference variable holds content ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014