File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Precedence Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Precedence Question" Watch "Precedence Question" New topic
Author

Precedence Question

Varun Chopra
Ranch Hand

Joined: Jul 10, 2008
Posts: 211
Can one provide with an expression which would prove that == has less precedence than <=?


-Varun -
(My Blog) - Online Certifications - Webner Solutions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38334
    
  23
Yes, try it, and you will see it won't compile with the wrong () in.
Varun Chopra
Ranch Hand

Joined: Jul 10, 2008
Posts: 211
hmm Thanks Campbell.

This works:



This does not work

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38334
    
  23
Well done.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Precedence Question