Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
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
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Programmer Certification (OCPJP)
Operators
Pramila Chinguru
Ranch Hand
Posts: 54
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is from Khalid's mock exam.
Which one evaluates all the operands? select two correct choices.
1. +
2. &&
3. ?:
4. ||
5. %
Naseem Khan
Ranch Hand
Posts: 809
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think its + and %.
Asking Smart Questions FAQ
-
How To Put Your Code In Code Tags
James Chegwidden
Author
Posts: 201
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well && and || can be short circuited and ?: is like an if/else so. I would agree that + and % would be the best bet..
JC
Author and Instructor,
my book
Do not set lab on fire. Or this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
not equal too & or operator????
component layout not wrapping inside Panel
Basic question in Ant tool
Operator Question
Pigs in pens
More...