This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Whats Wrong I m nt Getting output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Whats Wrong I m nt Getting output

Divakant Dinesh
Greenhorn

Joined: Apr 15, 2009
Posts: 4
public class Literals
{
public static void main(String[] as)
{
char a = 0x123;
char b=123;
char c=(char)70000;
System.out.println("a = " + a + " b = " + b + "c =" + c );
}
}
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Answered in cross-post: whats-wrong-i-m-nt-getting-output-please-please-help

OP, please read up on cross-posting without notification, and why it's important: BeForthrightWhenCrossPostingToOtherSites
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whats Wrong I m nt Getting output