Skip to content

Conversation

Maia-Everett
Copy link
Contributor

When calling a static method reflectively, the first argument does not actually need to be the class object. The first argument is ignored, and official documentation points out you can pass null.

@Maia-Everett Maia-Everett requested review from a team as code owners August 30, 2025 17:53
@bowbahdoe
Copy link
Collaborator

@Maia-Everett I'm on a weekend trip right now - I will review all of these later (and maybe a few intermittently)

Side question because I'm generally curious: where did you initially see a link to the book?

@Maia-Everett
Copy link
Contributor Author

Side question because I'm generally curious: where did you initially see a link to the book?

On Reddit, in this thread: https://www.reddit.com/r/java/comments/1n0h9yj/java_book_for_beginners_update/

@bowbahdoe
Copy link
Collaborator

Gotcha - just always surprised when people actually click through and start doing things

@Alathreon
Copy link

This is so great indeed, to see it getting attention ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants