aspose file tools*
The moose likes Beginning Java and the fly likes Need Help Initialization... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need Help Initialization..." Watch "Need Help Initialization..." New topic
Author

Need Help Initialization...

zukof
Greenhorn

Joined: Jan 13, 2001
Posts: 7
Hello Everybody
really confused aboout this
What is the differece between these two initializations
String s="Hello!";

AND
String s=new String(Hello!);
are they the same???
Thanx.
Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
http://www.javaranch.com/ubb/Forum33/HTML/001494.html


Val SCJP <BR>going for SCJD
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
zukof,
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at "JavaRanch Naming Policy" . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.

[This message has been edited by Cindy Glass (edited February 04, 2001).]


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help Initialization...