File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Output" Watch "Output" New topic


ranjan manohar

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.

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.
Consider Paul's rocket mass heater.
subject: Output
Similar Threads
Cannot Open Excel file in Browser. + JSF + JSP + Bean
Please explain the output of code below
Confused With Multi Threading
what is the flow of this program?
doubt with filters