Unit 01 · reflection

Unit 1 Reflection

Choose one idea that changed how you read a Java program.

Explain it using a specific code example from your work. Your answer should distinguish at least two of these layers:

  • source code;
  • compilation;
  • JVM/runtime execution;
  • program state;
  • observable output.

Then name one prediction you got wrong and explain what the actual execution revealed. A useful reflection is about the model you corrected, not whether the mistake felt easy or hard.