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

Get class from an object

$
0
0
In this example we shall show you how to get the class of an Object. To get the class that represents an Object one should perform the following steps: Create a new Object. Get the class of the Object, using getClass() API method of Object. It returns the runtime class of this Object. The returned Class ...

Viewing all articles
Browse latest Browse all 10

Trending Articles