Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Java
/
Reflection
Where is an exception thrown normally by a method invoked through `Method.invoke()`?
from Reflection
Java 25 LTS
intermediate
1 min
Where is an exception thrown normally by a method invoked through `Method.invoke()`?
It is the cause of InvocationTargetException.
It is always converted to IllegalAccessException.
It is returned as the invocation result.
Reflection suppresses it unless the interface declares throws.
Check
Ask AI about this kata
Report an error
previous kata
A class declares `void setLimit(int value)`. What happens when code calls `getMethod("set…
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload