aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes whts the out put 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "whts the out put" Watch "whts the out put" New topic
Author

whts the out put

Venkat Ramsimha
Ranch Hand

Joined: Dec 28, 2004
Posts: 127
public class TesttesT
{
public static void main (String []args)
{
unsigned byte b = 0;
b--;
}
}

hi all,
why the above program is giving compile time errors?anybody please suggest whts the output with the explanation?

thanks,
venkat
Bhalotia Kunal
Greenhorn

Joined: May 16, 2005
Posts: 9
unsigned is a C++ keyword..

It is not in java..
Remember ---

c++ is not JAVA..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: whts the out put