Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
SCJP 1.4 (100%) Done.<br />SCJD (URLyBird 1.2.3 Started)
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Well "Continue" has got more letters, perhaps it takes more CPU cycles to scan that? Java is an interpreter is it not?
SCJP2
Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Originally posted by Alexey Korneychuk:
He All!
Please take a look at this question from Brainbench (Java 2 Fundamentals):
Which one of the following keywords has the highest associated active CPU usage?
a) Throw
b) Final
c) Break
d) Continue
e) While
What answer is right and why?
Give me any advice about this, please!
Originally posted by Kevin Arouza:
Bizzare question and rather pointless I think, but I'll give it a shot anyway...
Originally posted by Kevin Arouza:
c), d) and e) all will translate into JMP instructions ultimately. Not sure how many cycles the JVM takes but in x86 assembler it is just 1 cycle.
SCJP 1.4 (100%) Done.<br />SCJD (URLyBird 1.2.3 Started)
Consider Paul's rocket mass heater. |