Java Core Programming Competency (Intermediate Level)

  • 10m
  • 10 questions
The Java Core Programming competency benchmark will measure your ability to understand and implement advanced features of Java such as reflection for runtime inspections and building JAR files. You will be evaluated on your applied knowledge on the various aspects and implementation of reflection APIs in Java, and building Java archives using the JAR utility. A learner who scores high on this benchmark demonstrates that they have the skills to harness the power of reflection and also to create lean JAR files using Maven.

Topics covered

  • access public, private, and protected methods
  • construct a JAR file with multiple main classes and run each of them
  • create a custom annotation and examine retention policies
  • describe how dependencies are stored in fat or uber JARs
  • execute and view the contents of a Java archive built with Maven
  • explore the disadvantages of using reflection with generics
  • investigate how you can get a handle to class objects using just the class name
  • invoke and call methods using handles
  • invoke interface methods and object base class methods on proxies
  • use class handles accessed via reflection to explore properties of classes