• Post Reply Bookmark Topic Watch Topic
  • New Topic

CPU Utilization  RSS feed

 
Suhas Madap
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
While writing the some online exam(java2.0). There was one question

Which keyword in java takes more CPU utilization?

the options were:
1) break 2) while 3) continue.

please help me?
 
Petrus Pelser
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd think the while would because it evaluates an expression, where the other two are just normal statements.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think its while as it has to evaluate the statement within ().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!