aspose file tools*
The moose likes Beginning Java and the fly likes Please explain <String> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Please explain <String>" Watch "Please explain <String>" New topic

Please explain <String>

Jason Wylde
Ranch Hand

Joined: May 25, 2009
Posts: 30
I'm trying to find out what <String> does but I can't find documentation anywhere. I assume that it is used to cast to a String but I want to be sure.

Thanks In Advance
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60082

Hint: Generics

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jason Wylde
Ranch Hand

Joined: May 25, 2009
Posts: 30
Ahh ...I see !
Jarred Olson
Ranch Hand

Joined: Jul 31, 2009
Posts: 37
Parenthesis are what you would use to cast: (String)
I agree. Here's the link:
subject: Please explain <String>
Similar Threads
SCJP 5: Study Guide : Book doubt
Finding links in an HTML file
"char cannot be dereferenced error"
Search for a given character in a string?
convert String to char