Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

Whats Wrong I m nt Getting output

 
Divakant Dinesh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 1561
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
    Bookmark Topic Watch Topic
  • New Topic