jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes casting string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "casting string " Watch "casting string " New topic

casting string

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14993

Mathew Lee wrote:I expected to see some weird stuff inplace of u but saw output as Username object is : asdf

Can you explain why you expected to see "some weird stuff"? What kind of "weird stuff"?

Please ShowSomeEffort

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: casting string
jQuery in Action, 3rd edition