Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Precedence Question
Varun Chopra
Ranch Hand
Posts: 213
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can one provide with an expression which would prove that == has less precedence than <=?
-Varun -
(
My Blog
) -
Online Certifications
-
Webner Solutions
Campbell Ritchie
Marshal
Posts: 79153
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes, try it, and you will see it won't compile with the wrong () in.
Varun Chopra
Ranch Hand
Posts: 213
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hmm Thanks Campbell.
This works:
boolean x = 6>=5==true;
This does not work
boolean x = 6>=(5==true);
-Varun -
(
My Blog
) -
Online Certifications
-
Webner Solutions
Campbell Ritchie
Marshal
Posts: 79153
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well done.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
< operator
code behaving strangely
Multiple Assignments from Khalid's book
Operators
From deepak's mock
More...