This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

About A Question inside in Java OCP 11 Developer Complete Study Guide

 
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I started to look at assessment test to gauge myself. I have a problem about the question 15.

Which of the following are true statements? (Choose all that apply.)
  • A - The JDK contains a compiler.
  • B - The JVM contains a compiler.
  • C - The javac command creates a file containing bytecode.
  • D - The java command creates a file containing bytecode.
  • E - The JDK is contained in the JVM.
  • F - The JVM is contained in the JDK.


  • Correct answers are A,C,F. But, I thought that B should also be correct because of  JIT(Just In Time Compiler).  Am I wrong?
     
    author & internet detective
    Posts: 41184
    848
    Eclipse IDE VI Editor Java
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hasan,
    Welcome to CodeRanch!

    That is true. The chapter doesn't bring up to the JIT compiler though so the question was written without considering it. Also note this isn't on the exam.
     
    Hasan Çelik
    Greenhorn
    Posts: 2
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I got it, thank you so much.

    Jeanne Boyarsky wrote:Hasan,
    Welcome to CodeRanch!

    That is true. The chapter doesn't bring up to the JIT compiler though so the question was written without considering it. Also note this isn't on the exam.

     
    reply
      Bookmark Topic Watch Topic
    • New Topic