*
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
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..
 
jQuery in Action, 2nd edition
 
subject: whts the out put
 
Similar Threads
Naming registration failed
WAS Entity Beans killing performance
Cleared SCWCD 5.0 with 91%
Passed SCWCD with 83%
Little confuson.