Search⌘ K
AI Features

Exercise: The Method Counter

Explore how to apply Java reflection to inspect public methods of a class. Learn to distinguish and count methods inherited from the Object class versus those defined or overridden by a custom class, enhancing your skills in runtime code analysis.

Problem statement

You are building a code analysis tool to generate statistics for a legacy application. Your task is to analyze ...