Quantcast
Channel: Examples Java Code Geeks » reflection
Viewing all articles
Browse latest Browse all 10

Get Modifiers from an Object

$
0
0
In this example we shall show you how to get the modifiers of a class. To get the modifiers of a class one should perform the following steps: Call getModifiers() API method of Class to get the Java language modifiers for this class or interface, encoded in an integer. The modifiers consist of the Java Virtual Machine’s ...

Viewing all articles
Browse latest Browse all 10

Trending Articles