This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Output" Watch "Output" New topic
Author

Output

ranjan manohar
Greenhorn

Joined: Dec 11, 2008
Posts: 18
Hello Everyone,

Hope all are doing good.

I came across this question recently. Output of System.out.println(4&5);

Though I got the answer, I am not able to understand the reason behind it, Can anyone please help me out.

Thanks,
Ranjan,
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Bitwise and.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Output
 
It's not a secret anymore!