JDK Flashcards

1
Q

What is the JDK and what is its architecture?

A

The JDK is software that contains all of the necessary components to develop and execute Java programs

Architecture:

  • JDK
    • Developer tools
      • javac: compiles source code into .class files
      • jar: archives .class files into a single file
      • java: starts an application by using the JRE
      • jdb: debugger
      • javadoc: generates documentation from source files
    • JRE
      • JVM
      • Java Core Packages
      • Java Runtime Libraries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the JVM and what is its architecture?

A

The JVM is software used to load and execute Java applications

Architecture:

  • JVM
    • Class Loader
    • Memory
      • heap
      • stack
    • Execution Engine
      • Interpreter
      • JIT Compiler
      • Garbage collection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly